Skip to main content

All Questions

2 votes
1 answer
415 views

Given a set of both positive and negative numbers, what is a time optimal approach to find the two numbers whose sum, plus a third number is zero

Coming from an engineering background I want to solve this question. Question: Given a set of positive, and negative numbers, how do I time optimally find two numbers whose sum is the mathematical ...
Vahe's user avatar
  • 173