RecursionA 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...Jul 12, 2023 · 2 min readsauravghimire.hashnode.dev
Finding 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 ...Jun 26, 2023 · 2 min readsauravghimire.hashnode.dev