Quiz: Two-Pointer Palindrome Movement

Test your understanding

Check Your Understanding

When checking if a string is a palindrome using two pointers, if the characters at both pointers match, what do you do next?

  1. A.Move both pointers toward the center
  2. B.Move only the right pointer left
  3. C.Move only the left pointer right
  4. D.Return true immediately
Start the roadmap to answer the quizzes and solve the challenges