Given an array of integers, return indices of the two numbers which gave the target sum. You should return two different indices.
Example: [2, 7, 11, 15], Target = 9 --> [0, 1]
 
Test set 1
Result:
 
Test set 2
Result:
 
Test set 3
Result: