GoTo Financial Interview Question

Coding Two Sum CQuestions, behavioral, critical thinking