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 - March, 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 Merge Two Sorted Lists Easy
Linked ListRecursion
32 Minimax Game AI Hard
Game TheoryRecursionAlpha-Beta
33 Minimum Non-Zero Product of the Array Elements Medium
MathGreedyRecursion
34 Number of Digit One Hard
MathDynamic ProgrammingRecursion
35 Output Contest Matches Medium
StringRecursionSimulation
36 Palindrome Linked List Easy
Linked ListTwo PointersStack
37 Parse Lisp Expression Hard
Hash TableStringStack
38 Parsing A Boolean Expression Hard
StringStackRecursion
39 Partition Array into Two Equal Product Subsets Medium
ArrayBit ManipulationRecursion
40 Permutation Sequence Hard
MathRecursion
41 Power of Four Easy
MathBit ManipulationRecursion
42 Power of Three Easy
MathRecursion
43 Power of Two Easy
MathBit ManipulationRecursion
44 Pow(x, n) Medium
MathRecursion
45 Predict the Winner Medium
ArrayMathDynamic Programming
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.