Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Recursion Problems in C++ #165

Open
Upendra48 opened this issue Oct 29, 2024 · 0 comments
Open

Addition of Recursion Problems in C++ #165

Upendra48 opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels

Comments

@Upendra48
Copy link
Contributor

I would like to add few basic recursion problems like:

  1. Sum of the element of an array using recursion
  2. Linear search using recursion
  3. Find the peak in the mountain array using recursion
  4. Find the pivot in a rotated sorted array using recursion
  5. Factorial Calculation: A function to calculate the factorial of a number using recursion.
  6. Fibonacci Sequence: A recursive function to find the nth Fibonacci number.
  7. Binary Search: Implement a recursive binary search on a sorted array.
  8. Power Calculation: Calculate a^b using recursion, covering both positive and negative powers.
  9. Permutations of a String: Generate all permutations of a given string.
  10. Tower of Hanoi: A classic recursion problem to move disks between rods.

(Please assign this issue to me and add hacktoberfest label)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants