Recursion Coding Problems

Solve problems with self-referential solutions

50
Total Problems
11
Easy
24
Medium
15
Hard
Start Practicing
f(n)f(n-1)f(1)

Master DSA Topics - January, 2026

Practice problems across 75+ categories

Recursion Coding Problems

Practice problems frequently asked at Recursion 50 problems | 11 Easy | 24 Medium | 15 Hard

# Problem Difficulty Topics
1 Add Two Numbers Medium
Linked ListMathRecursion
2 All Possible Full Binary Trees Medium
Dynamic ProgrammingTreeRecursion
3 Basic Calculator Hard
MathStringStack
4 Basic Calculator III Hard
MathStringStack
5 Basic Calculator IV Hard
Hash TableMathString
6 Count Collisions of Monkeys on a Polygon Medium
MathRecursion
7 Count Good Numbers Medium
MathRecursion
8 Decode String Medium
StringStackRecursion
9 Different Ways to Add Parentheses Medium
MathStringDynamic Programming
10 Elimination Game Medium
MathRecursion
11 Fibonacci Number Easy
MathDynamic ProgrammingRecursion
12 Find Kth Bit in Nth Binary String Medium
StringRecursionSimulation
13 Find the K-th Character in String Game I Easy
MathBit ManipulationRecursion
14 Find the K-th Character in String Game II Hard
MathBit ManipulationRecursion
15 Find the Winner of the Circular Game Medium
ArrayMathRecursion
Showing 1-15 of 50
1 2 3 4

Tutorials Library

Master any technology with our largest free online Library. Browse through 500+ tutorials across 10+ categories.

Python

Python Tutorial

Java

Java Tutorial

JavaScript

JavaScript

C++

C++ Tutorial

C#

C# Tutorial

Go

Go Tutorial

Rust

Rust Tutorial

TypeScript

TypeScript

Swift

Swift Tutorial

Kotlin

Kotlin Tutorial

Ruby

Ruby Tutorial

PHP

PHP Tutorial

C

C Tutorial

Scala

Scala Tutorial

Perl

Perl Tutorial

R

R Tutorial

Dart

Dart Tutorial

Lua

Lua Tutorial

MATLAB

MATLAB

Haskell

Haskell

Developer Toolbox

Powerful online tools to boost your productivity

public class MyFirstJavaProgram { Edit & Run

   /* This is my first java program.
    * This will print 'Hello, World!' as the output
    */

   public static void main(String []args) {
      System.out.println("Hello, World!"); // prints
   }
}

Start Coding in Seconds

Coding Ground For Developers

Code, Edit, Run and Share

Ignite your coding potential on Coding Ground - an immersive online platform for hands-on learning, collaboration, and skill development.