Pregunta de entrevista de Akamai

You have a function called two sums that return an integer array of the indices that add up to the target value (leetcode question)