Umang Srivastavaoutlierchronicles.hashnode.dev·Apr 13, 2024The Recursive JourneyRecursion, a programming concept where a function calls itself, might sound like a mind-bender at first. But fear not! This powerful technique is surprisingly intuitive and can be a valuable tool in your Pythonic arsenal. In this blog, we'll embark o...Discuss·5 likesRecursionRecursion
Sean Coughlinblog.seancoughlin.me·Apr 10, 2024Mastering the Flood Fill Algorithm: A LeetCode Tutorial for Software EngineersIn today's blog post, I want to walk you through a classic problem that often surfaces in software engineering interviews, particularly on platforms like LeetCode. The problem in question is known as "Flood Fill" (LeetCode 733), a concept that finds ...DiscussSWE Interview Preparationleetcode-solution
Tushar Parakhnovicecoder.hashnode.dev·Mar 10, 2024The Recursive Leap of FaithRecursion can feel like a leap of faith at first. You write a function that calls itself, trusting that this self-call will ultimately lead to a solution. But this faith isn't blind. It's based on a well-defined structure: Solid Base: The function h...Discuss·10 likesRecursion
Pratik Kalepk-coding-journey.hashnode.dev·Mar 7, 2024CS50 Week 2: Arrays, Libraries, and the Power (and Struggles) of RecursionHey everyone, continuing my journey through CS50's Introduction to Computer Science! As promised, I've been tackling Week 2, which delves into the world of arrays . Almost There with Arrays and Recursion! I'm happy to report that I've made significan...DiscussCS50x Journeycs50x
Aishwarya Saishwaryas.hashnode.dev·Mar 7, 2024GraphLookup in MongodbGraph lookup is a way of doing recursion in Mongodb. It does a recursion to find the recursive outcome of any given condition within a single collection or across collections. Syntax: { $graphLookup: { from: <collection name>, startWit...DiscussMongoDB
Debajyati Deydebajyatidey.hashnode.dev·Mar 6, 2024Functions & Solving Problems in OCamlIn one of the previous articles, we've seen how to define a basic function with if-else expressions. In this article, we are going to get through the detailed overview of defining efficient functions and developing intuition to solve problems in the ...Discuss·33 likes·101 readsConcepts in OCamlFunctional Programmingamazingly explained... 5
Vidya Shreetechwithvidya.hashnode.dev·Mar 6, 2024How to approach any recursion problemBefore we come to the approach lets understand recursion by a small example: Recursion is like opening a nesting doll. Each time you open one, there's a smaller doll inside. You keep going until you reach the smallest doll, just like solving smaller ...Discuss·3 likesRecursion
Emmanuel Inegbenosekizzy.hashnode.dev·Feb 26, 2024Demystifying Recursion - Part 3In the Part 2 of this series, we gained an intuition for problems that are ideal use cases for recursion. In this article, our focus will be on the performance implications of recursion and identifying when to optimize it for better performance. I of...Discuss·31 readsRecursion
Emmanuel Inegbenosekizzy.hashnode.dev·Feb 22, 2024Demystifying Recursion - Part 2In the Part 1 of this series, we set the tone for understanding recursion at a fundamental level. However, it would be nice to actually gain an intuition for practical problems that are easily solved by recursion and hardly solved otherwise. In this ...Discuss·12 likes·68 readsRecursion
Tushar Desardatushard.hashnode.dev·Feb 17, 2024RecursionDefinition Function calling itself. A problem is broken into smaller problem(subproblem) and the solution is generated using the subproblems. Example Here's an example of how recursion can be used to calculate the sum of the first N natural numbe...DiscussRecursion