GUIDED PRACTICE
Two pointers
Use order to eliminate impossible candidates.
6:00Self-guided practice timer
The timer resets when you leave this page. Save your design separately.Your challenge
Solve sorted two-sum in O(n) time and O(1) extra space.
Your design draft
Clarify assumptions, explain your approach, and test the difficult cases. Save your draft, then compare it with the study notes.
Self-review checklist
Self-guided practice. Automated AI feedback and code execution are not connected.