SGsaurav ghimireinsauravghimire.hashnode.dev·Jul 12, 2023 · 2 min readRecursionA function calls itself. But why? Basically, Recursion provides a concise and elegant way to solve complex problems. How? By breaking, them down into smaller, more manageable subproblems. Why do we need Recursion? Problem-Solving: Recursion is especi...00
SGsaurav ghimireinsauravghimire.hashnode.dev·Jun 26, 2023 · 2 min readFinding an element in Rotated ArrayIf you have ever used an algorithm like Binary Search, you may have come across its advantages over the Time complexity of, let's say a linear search. We will not dive into the realms of time complexities for now. Let us suppose, we have an Array of ...00