Pregunta de entrevista de GoTo Financial

Coding Two Sum CQuestions, behavioral, critical thinking