Pergunta de entrevista da empresa Seesaw

LeetCode two sum question and using arrays