Data Structures19 sections · 729 units
Open in Course

Quiz: Two Pointers

Pointer movement

Check Your Understanding

In two-pointer sum finding on a sorted array, when do you move the left pointer right?

  1. A.When the current sum equals the target
  2. B.When the current sum is less than the target
  3. C.When left and right are adjacent
  4. D.When the current sum is greater than the target
Start the roadmap to answer the quizzes and solve the challenges