Bootcamps
Masterclasses
Menu
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
  • 84problems
  • 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
51Check if Tree is Symmetric Tree · Traversal · Binary Tree74.98%Medium
52Check if Two Trees are Identical Tree · Traversal · Binary Tree76.59%Medium
53Count Leaf Nodes In Binary Tree Tree · Traversal · Binary Tree74.59%Medium
54Count Total Nodes in Binary Tree Tree · Traversal · Binary Tree75.68%Medium
55Height / Max Depth of Binary Tree Tree · Traversal · Binary Tree75.36%Medium
56Binary Tree Zigzag Level Order Traversal Tree · Recursion · Traversal71.48%Medium
57Binary Tree Level Order Traversal Tree · Recursion · Traversal79.68%Easy
58Binary Tree Inorder Traversal Recursion · Trees · Traversal75.68%Easy
59Binary Tree Preorder Traversal Tree · Recursion · Binary Tree79.85%Easy
60Permutation of A String String · Recursion66.00%Medium
61Smallest window of 0, 1 and 2 String50.00%Easy
62Roman Number to Integer String43.21%Easy
63Longest Palindromic Substring String34.80%Medium
64Form Anagram Groups String · Hashing69.80%Medium
65Longest Common Prefix Array · String44.20%Easy
66Length of the longest substring String50.00%Medium
67Smallest Window of All Characters String · Dynamic Programming50.00%Hard
68Binary Heap Operations Heap22.30%Medium
69Heap Sort Heap53.06%Medium
70Bitonic Point Searching Algorithm58.67%Easy
71Alien Dictionary String47.81%Hard
72Find the String String72.98%Hard
73Reverse Words In A String String47.80%Easy
74First Occurrence In A String String50.08%Medium
75Longest Common Subsequence Array · String · Dynamic Programming50.00%Medium
76K-Pangrams String · Hashing20.91%Medium
77Winner of an election String · Hashing53.75%Easy
78Making A Large Island Graph · BFS · DFS52.36%Hard
79Stepping Numbers BFS · DFS48.44%Medium
80Course Schedule Graph · BFS · DFS51.77%Medium
81Redundant Parenthesis String · Stack51.49%Hard
82Find Kth Rotation Array · Stack · Searching Algorithm23.16%Easy
83Strings Rotations String43.83%Medium
84Unique Permutations String46.50%Medium

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