Skip to content
RED SAG Skills
medium10 pts · first answer countssorting-and-searching

Pair sum with sorting and two pointers

You need to know whether any two prices in an unsorted list add up to exactly ₹1,000, using O(1) extra memory. What is the best time you can get?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions