Sulba
ReviewSign inAccount
Theme
Editor theme
Light
Dark

Beginner · Coding interviews

Two pointers

Five interview problems where two positions move through a list: a pair in sorted order, duplicates removed in place, the most water, triples that sum to zero and trapped water.

You build
sorted_pair.py, then dedupe.py, then water.py, then triples.py, then rain.py
Stages
5 Problems
Time
About 2 hours

Loading the workspace…