Given an array of integers and a target sum, return the indices of the two numbers such that they add up to the target.
Given an array of integers and a target sum, return the indices of the two numbers such that they add up to the target.
Example
Input: [2,7,11,15], 9
Output: [0,1]