23 patterns.
Step by step.

Each pattern runs on a small example: pseudocode with the current line lit up, the variables, and a picture of the data. Then practise it on real LeetCode problems.

Start with two pointersAll patterns

P02 Two pointersTowards each other · 1×
0213253849512616719left

left starts at the smallest, 2

01/26
restart · back · play · step
Speed