Pergunta de entrevista da empresa Amazon

It was a leetcode coding question about an array with different values. Had to print out the values that added up to the provided target number. The values were allowed to repeat.