Data Structures19 sections · 729 units
Open in CourseQuiz: Two Pointers
Pointer movement
Check Your Understanding
In two-pointer sum finding on a sorted array, when do you move the left pointer right?
- A.When the current sum equals the target
- B.When the current sum is less than the target
- C.When left and right are adjacent
- D.When the current sum is greater than the target