Given an array of integers and a target integer , find two indices and such that .
For example, if and , the answer is indices because .
This is a classic problem that demonstrates algebraic thinking. Before reading on, think: what are you looking for? You need two numbers that add to the target.