Fundamentals
/
Two Pointer Templates
⏸
00:00
↻
← Prev
Next →
▶
Question
Given a sorted array of integers and a target, return [i, j] indices of two numbers that sum to target using two pointers, or [] if none.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
18