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
  • 74problems
  • 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
51Binary Tree Preorder Traversal Tree · Recursion · Binary Tree79.85%Easy
52Permutation of A String String · Recursion66.00%Medium
53Smallest window of 0, 1 and 2 String50.00%Easy
54Roman Number to Integer String43.21%Easy
55Longest Palindromic Substring String34.80%Medium
56Form Anagram Groups String · Hashing69.80%Medium
57Longest Common Prefix Array · String44.20%Easy
58Length of the longest substring String50.00%Medium
59Smallest Window of All Characters String · Dynamic Programming50.00%Hard
60Bitonic Point Searching Algorithm58.67%Easy
61Alien Dictionary String47.81%Hard
62Find the String String72.98%Hard
63Reverse Words In A String String47.80%Easy
64First Occurrence In A String String50.08%Medium
65Longest Common Subsequence Array · String · Dynamic Programming50.00%Medium
66K-Pangrams String · Hashing20.91%Medium
67Winner of an election String · Hashing53.75%Easy
68Making A Large Island Graph · BFS · DFS52.36%Hard
69Stepping Numbers BFS · DFS48.44%Medium
70Course Schedule Graph · BFS · DFS51.77%Medium
71Redundant Parenthesis String · Stack51.49%Hard
72Find Kth Rotation Array · Stack · Searching Algorithm23.16%Easy
73Strings Rotations String43.83%Medium
74Unique 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