Easy exercises:
https://www.includehelp.com/c-programs/recursion-examples.aspx
- Program to read a value and print its corresponding percentage from 1% to 100%
using recursion.
- Program to find factorial using recursion.
- Program to print fibonacci series using recursion.
- Program to calculate power of a number using recursion.
- Program to count digits of a number using recursion.
- Program to find sum of all digits using recursion.
- Program to calculate length of the string using recursion.
https://www.w3resource.com/c-programming-exercises/recursion/index.php
- Find GCD of two numbers using recursion
- Get the largest element of an array using recursion.
- Reverse a string using recursion
- Convert a decimal number to binary using recursion
- Check a number is a prime number or not using recursion
- Find the LCM of two numbers using recursion.
- Multiply two matrix using recursion
- Find the Hailstone Sequence of a given number upto 1
- Find the first capital letter in a string using recursion
- Do binary search using recursion.
Medium level exercises:
https://www.geeksforgeeks.org/recursion-practice-problems-solutions/
- Print all possible combinations of r elements in a given array of size n
- Print all increasing sequences of length k from first n natural numbers
- Sum triangle from array
- Partition a given string (or an array) in such manner that i’th substring
(subarray) is sum of (i-1)’th and (i-2)’th substrings (subarrays)
- Find all possible binary numbers of length n with equal sum in both halves
- Generate all binary strings without consecutive 1’s
- Find all even length binary sequences with same sum of first and second half
bits
More challenging exercises:
https://www.techiedelight.com/recursion-practice-problems-with-solutions/
- Print all possible solutions to N Queens problem
- Find the longest possible route in a matrix
- Generate list of possible words from a character matrix
- Find the shortest path in maze
- Print all shortest routes in a rectangular grid
- and more...