Back to Topics

generic Mastery

Global Progress0%
0/ 0

Topic Cheat Sheet

Two Pointers

  • Opposite EndsConverge from both sides of sorted input
  • Same DirectionFast & slow pointers for partitioning

Dynamic Programming

  • Fibonacci PatternBuild from base cases with rolling variables
  • State TransitionDefine recurrence, memo or tabulate

Greedy Strategies

  • Interval SchedulingSort by end time, pick non-overlapping
  • Optimal SubstructureLocal best choice leads to global optimum

Bit Manipulation

  • XOR TricksFind unique elements, toggle bits
  • Bitmask DPSubset enumeration with bitmasks
Advanced Filters

Patterns0

Difficulty

Curated Lists

Questions0

SolvedReviseQuestionDifficultyPatternsVideo
No questions found matching your filters.

Ready for more?

Continue your journey with the next pattern.

Next Topic: Arrays