leaps.ggTRACK YOUR MASTERY →
PROBLEMS/TWO POINTERS/OPPOSITE-DIRECTION (CONVERGING)

Opposite-Direction (Converging) Problems

59 Opposite-Direction (Converging) problems on LeetCode, a Two Pointers interview pattern, ranked by importance (how often it comes up in real interviews). Difficulty (ELO) and importance shown per problem.

#PROBLEMDIFFELOIMPPATTERNS
1Trapping Rain WaterMedium169993
Monotonic Stack · Prefix Sums
2Two Sum II - Input Array Is SortedEasy112490
Complement Search (Two Sum Pattern)
3Container With Most WaterEasy137490
Exchange Argument / Local Adjustment
4Valid PalindromeEasy104585
5Longest Palindromic SubstringMedium145884
Word Break / String DP
+ 54 more Opposite-Direction (Converging) problems, see all in the explorer →
MORE TWO POINTERS PATTERNS
Opposite-Direction (Converging)Same-Direction (Fast/Slow on Arrays)K-Sum Pattern (3Sum, 4Sum)
// your mastery
Bronze tier crystalSilver tier crystalGold tier crystalPlatinum tier crystalDiamond tier crystal
What's your Opposite-Direction (Converging) tier?

leaps.gg syncs your LeetCode history, scores your Opposite-Direction (Converging) mastery, and recommends exactly which problems to do next with spaced repetition. Free to start.

GET MY MASTERY MAP →