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
  • 19problems
  • 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
1Binary Tree Cameras Tree · Traversal · Binary Tree55.21%Hard
2Boundary Traversal Tree · Traversal · Binary Tree45.21%Hard
3Maximum Path Sum in Binary Tree Tree · Traversal · Binary Tree58.59%Hard
4Find Nodes at Distance K from Given Node Tree · Traversal · Binary Tree65.95%Hard
5Print All Root To Leaf Paths Tree · Traversal · Binary Tree68.59%Hard
6Target Sum Ways Recursion64.00%Hard
7Unique Path Recursion56.00%Hard
8Rat In A Maze Recursion38.00%Hard
9Max of min for every window Stack50.00%Hard
10Smallest Window of All Characters String · Dynamic Programming50.00%Hard
11Histogram Max Rectangular Area Stack32.12%Hard
12Alien Dictionary String47.81%Hard
13Find the String String72.98%Hard
14Number of Turns in Binary Tree Tree50.00%Hard
15Cake Distribution Problem Array · Searching Algorithms64.62%Hard
16Making A Large Island Graph · BFS · DFS52.36%Hard
17Next Smallest Palindrome Array19.63%Hard
18Count Smaller elements Array38.16%Hard
19Redundant Parenthesis String · Stack51.49%Hard

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