Given an array of integers and a target, return indices of the two numbers that add up to the target. Solved using a hash map for O(n) time.