Question DSA-TP-0038
EasyWhat is the usual time complexity of the 3-sum problem using sorting plus two pointers?
- A.
O(n²)
- B.
O(n log n)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Two Pointers and Sliding Window question
What is the usual time complexity of the 3-sum problem using sorting plus two pointers?
O(n²)
O(n log n)
Sign up free to see the answer and a step-by-step explanation.
O(n³)
O(n)