Pregunta de entrevista de Amazon Web Services

Two Sum (Leetcode question) in the OS round