Pregunta de entrevista de Cymulate

2sum - write a function that gets a target number and an array of sorted numbers as arguments. The function should return the 2 array indexes that add up to the target number. For example - target: 15, arr: [1,4,10,11], the returned result would be [1,3]