Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up

Think in patterns.
Solve like it’s the interview.

hand-picked DSA problems in C#, Java, Python, C++ and JavaScript. Run your code, climb the leaderboard and keep your streak alive.

Start practicing
  • 63problems
  • 12core patterns
  • 5languages
  • 2 Lakh+learners trained

Bubble sort

ArraysO(n²)Running

Compare neighbours, swap when out of order.

Inorder traversal

TreesDFSO(n)

Visit order:  

Breadth-first search

GraphsQueueO(V+E)

Level order:  

Longest common subsequence

Dynamic ProgrammingO(mn)

dp[i][j] = best length for the first i and j characters.

Browse by pattern

Master the idea once, solve the whole family.

#Title Acceptance Difficulty
1Calculate a^b Using Exponentiation by Squaring Data Structures Basics · Searching Algorithms · Sorting Algorithms86.53%Basic
2Find the Nth Fibonacci Number Efficiently Data Structures Basics · Recursion · Dynamic Programming85.25%Basic
3Flood Fill Recursion69.00%Medium
4Number of Islands Recursion66.00%Medium
5Remove Consecutive Duplicates Recursion60.00%Easy
6Binary Tree Post Order Traversal Tree · Recursion · Traversal79.59%Easy
7Binary Tree Zigzag Level Order Traversal Tree · Recursion · Traversal71.48%Medium
8Binary Tree Level Order Traversal Tree · Recursion · Traversal79.68%Easy
9Binary Tree Inorder Traversal Recursion · Trees · Traversal75.68%Easy
10Binary Tree Preorder Traversal Tree · Recursion · Binary Tree79.85%Easy
11Search in a 2D Matrix Recursion · Binary Search86.00%Medium
12Find Minimum In Rotated Sorted Array Recursion89.00%Medium
13Peak Element In Rotated Array Recursion88.00%Easy
14Generate All Subsequence Recursion56.00%Medium
15Check if Binary Tree is Balanced Recursion77.00%Medium
16Generate All Subsets Recursion60.00%Medium
17Count Nodes in Binary Tree Recursion64.00%Medium
18Letter Combinations of Phone Number Recursion60.00%Medium
19Tiling Problem Recursion50.00%Medium
20Permutation Without Duplicates Recursion67.00%Medium
21Combination Sum II Recursion76.00%Medium
22Target Sum Ways Recursion64.00%Hard
23Partition Equal Subset Recursion77.00%Easy
24Unique Path Recursion56.00%Hard
25Rat In A Maze Recursion38.00%Hard
26Permutation of an Array Array · Recursion68.00%Medium
27Permutation of A String String · Recursion66.00%Medium
28Subsets with Duplicates Recursion74.00%Medium
29Factorial of N Recursion60.00%Easy
30Count Ways To Reach Nth Stair Recursion60.00%Medium
31Friends Pairing Problem Recursion50.00%Medium
32Count Binary Strings Recursion60.00%Medium
33Fibonacci Series (Tree Recursion) Recursion60.00%Medium
34Check String Is Subsequence To Another Recursion75.00%Medium
35Convert String to Integer Recursion60.00%Medium
36Replace pi to 3.14 Recursion75.00%Easy
37Remove All Occurrence of A Character Recursion75.00%Easy
38Count Characters Recursion85.00%Easy
39Check Palindrome Recursion90.00%Easy
40Reverse A String Recursion48.00%Easy
41Product of All Array Elements Recursion80.00%Easy
42Sum of Array Elements Recursion58.00%Easy
43Reverse An Array Recursion85.00%Easy
44All Occurrence Of An Element Recursion59.00%Easy
45Last Occurrence Of An Element Recursion65.00%Easy
46First Occurrence Of An Element In An Array Recursion75.00%Easy
47Check Array is Sorted Recursion80.00%Basic
48Find Maximum / Minimum in Array Recursion75.00%Easy
49Print Array Elements Recursion50.00%Easy
50Fibonacci Series Recursion85.00%Easy

Practice that builds the habit

Three steps, repeated every day.

  1. 1

    Pick a pattern

    Start from an idea such as two pointers or BFS, then move through easy, medium and hard.

  2. 2

    Code and run

    Write in your language, run on sample cases and submit against every hidden test.

  3. 3

    Climb the board

    Every solve earns points. Keep a daily streak and see where you stand this month.

Want a plan, not just problems?

The DSA bootcamp adds structured lessons, live mentorship and mock interviews on top of this practice platform.

Asked at companies like
  • Microsoft
  • Google
  • Amazon
  • Adobe
  • Oracle
  • Samsung
  • Cisco
  • IBM