Question DSA-TP-0059
MediumWhich property must the array have for the 'two-sum with two pointers' approach?
- A.
It must have no negatives
- B.
It must be distinct
- 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
Which property must the array have for the 'two-sum with two pointers' approach?
It must have no negatives
It must be distinct
Sign up free to see the answer and a step-by-step explanation.
It must be sorted
It must have even length