Spyros
•
Jul 6
•
in Articles
• 2 min read
The Two Sum problem sounds complicated, but it's actually very simple.
Imagine you have a list of numbers:
int numbers = { 2, 7, 11, 15 };
And someone asks you:
"Can you find two numbers that add up to 9?"
Looking at the list, you can see that:
...