About 314,000 results
Open links in new tab
  1. C++ Recursion: Exercises, Practices, Solutions - w3resource

    Apr 14, 2025 · This resource offers a total of 80 C++ recursion function problems for practice. It includes 16 main exercises, each accompanied by solutions, detailed explanations, and four related problems. [An Editor is available at the bottom of the page to write and execute the scripts.] 1. Sum of Array Using Recursion.

  2. Recursive Practice Problems with Solutions - GeeksforGeeks

    Feb 6, 2024 · The process in which a function calls itself directly or indirectly is called Recursion and the corresponding function is called a Recursive function. Using Recursion, certain problems can be solved quite easily. Examples of such problems are Towers of Hanoi (TOH), Inorder/Preorder/Postorder Tree Tr

  3. C++ Recursion - GeeksforGeeks

    Mar 4, 2025 · In C++, recursion is a technique in which a function calls itself repeatedly until a given condition is satisfied. It is used for solving a problem by breaking it down into smaller, simpler sub-problems. Then finding the solution of it and combining this solution to find the global solution. Basic Example:

  4. Practice Questions for Recursion | Set 1 - GeeksforGeeks

    Feb 20, 2023 · The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called a recursive function. Using recursive algorithm, certain problems can be solved quite easily.

  5. Recursive Practice Problems with Solutions - Online Tutorials Library

    Aug 16, 2023 · Explore a comprehensive list of recursive practice problems along with detailed solutions to enhance your coding skills in recursion.

  6. Recursion - C++ MCQ Questions - Letsfindcourse

    Practice these C++ MCQ questions on Recursion with answers and their explanation which will help you to prepare for various competitive exams, technical exams, interviews etc.

  7. C++ Function Recursion - W3Schools

    Recursion is the technique of making a function call itself. This technique provides a way to break complicated problems down into simple problems which are easier to solve. Recursion may be a bit difficult to understand. The best way to figure out how it works is to experiment with it.

  8. Recursion - Data Structure Questions and Answers - Sanfoundry

    Problems like finding Factorial of a number, Nth Fibonacci number and Length of a string can be solved using recursion. 3. Recursion is similar to which of the following? 4. In recursion, the condition for which the function will stop calling itself is ____________

  9. Most Tricky GATE Questions on Recursion - AspiringCoders

    May 9, 2021 · From the previous years’ questions, I picked up the most tricky ones with step-by-step clarification to get a solid grip on recursion. Let’s get started. What is the output printed by the following program? Consider the following C function: What is the value of f (5)? Consider the code fragment written in C below: What does f (173) print?

  10. Recursive Function with Practice Problems - Study Trigger

    Apr 27, 2023 · A recursion function is a function that calls itself repeatedly until a base case is reached. Recursion is a powerful technique in programming that allows a problem to be broken down into smaller, simpler sub-problems.

Refresh