Arrays & Strings
Indexing, slicing, and in-place operations for arrays and strings ā the substrate for most other techniques.
Indexing, slicing, and in-place operations for arrays and strings ā the substrate for most other techniques.
Fixed and variable-size windows for subarray/substring problems, explained at conceptual and implementation levels.
From converging pointers to Floyd's cycle detection ā turning O(n²) scans into O(n) passes.