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
31 Power of Two Easy
MathBit ManipulationRecursion
32 Pow(x, n) Medium
MathRecursion
33 Predict the Winner Medium
ArrayMathDynamic Programming
34 Print Immutable Linked List in Reverse Medium
Linked ListTwo PointersStack
35 Regular Expression Matching Hard
StringDynamic ProgrammingRecursion
36 Remove Linked List Elements Easy
Linked ListRecursion
37 Remove Nodes From Linked List Medium
Linked ListStackRecursion
38 Reorder List Medium
Linked ListTwo PointersStack
39 Reverse Linked List Easy
Linked ListRecursion
40 Reverse Nodes in k-Group Hard
Linked ListRecursion
41 Sequential Grid Path Cover Medium
ArrayRecursionMatrix
42 Special Binary String Hard
StringRecursion
43 Split BST Medium
TreeBinary Search TreeRecursion
44 Strobogrammatic Number II Medium
ArrayStringRecursion
45 Strobogrammatic Number III Hard
ArrayStringRecursion
Showing 31-45 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.