Pregunta de entrevista de IBM

2Sum problem as in leetcode