ฝึกคณิตศาสตร์ไม่ต่อเนื่อง

Two Pointers Sorted Pairs

เรียกดูบทเรียน Two Pointers Sorted Pairs ภายใน Algorithmic Thinking and Complexity

1 บทเรียน · 5 คำถาม

Algorithmic Thinking and Complexity

Big-O, loop analysis, graph algorithms, invariants, and developer-focused discrete math.

1 บทเรียน · 410 คำถาม

Two Pointers Sorted Pairs

1 บทเรียน · 5 คำถาม

Least You Need to Know: Opposite-End Two Pointers and Sorted Pair Search
When data order lets you predict how a sum or comparison changes, two pointers can eliminate large parts of the search space without backtracking. This is the interview reason sorted-pair, palindrome, and container-style problems collapse from quadratic scanning to linear passes.
เปิดบทเรียน