Quiz: 3Sum

Test your understanding

Check Your Understanding

In 3Sum, why sort the array first?

  1. A.To find the minimum triplet
  2. B.To enable two-pointer search and skip duplicates easily
  3. C.To use binary search
  4. D.To reduce space complexity
Start the roadmap to answer the quizzes and solve the challenges