Pergunta de entrevista da empresa EY

Core java questions, easy leetcode task about two sum