Question DSA-TP-0025
EasyWhat extra space does the two-pointer pair-sum method on a sorted array use?
- A.
O(n)
- B.
O(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 extra space does the two-pointer pair-sum method on a sorted array use?
O(n)
O(log n)
Sign up free to see the answer and a step-by-step explanation.
O(n²)
O(1)