DSA two pointers learning path

Java developers preparing for live coding rounds who want to master opposite-end scans, in-place read/write pointers and k-Sum in order.

8 questions3 levels5 must‑knowFree, no account

Your progress

L1 · 0 of 5L2 · 0 of 2L3 · 0 of 1

Level 1 · 5 questions. Begin with what gets asked in the first ten minutes. Levels 2 to 4 build on it.

Start with Level 1
Level 1First ten minutesTwo-sentence answers to what gets asked first.5 questions · 2 topics

Opposite-ends two pointers

  1. 1.1Two Sum II - Input Array Is SortedMust‑know3 min

Same-direction read/write pointers

  1. 2.1Merge Sorted ArrayMust‑know3 min
  2. 2.2Move ZeroesMust‑know3 min
  3. 2.3Remove Duplicates from Sorted Array3 min
  4. 2.4Is Subsequence2 min
Level 2Daily jobWhat you use at work every week.2 questions · 2 topics

k-Sum

  1. 1.13SumMust‑know4 min

Opposite-ends two pointers

  1. 2.1Container With Most WaterMust‑know3 min
Level 3SeniorProduction trade-offs and failure modes.1 questions · 1 topics

Opposite-ends two pointers

  1. 1.1Trapping Rain Water3 min