Skip to main content

3 docs tagged with "arrays"

View all tags

Arrays & Strings

Indexing, slicing, and in-place operations for arrays and strings — the substrate for most other techniques.

Sliding Window

Fixed and variable-size windows for subarray/substring problems, explained at conceptual and implementation levels.

Two Pointers

From converging pointers to Floyd's cycle detection — turning O(n²) scans into O(n) passes.