Pergunta de entrevista da empresa Amazon

The main coding question in the online assessment was essentially a Two Sum problem. It required finding two numbers in an array that add up to a target value. It was a very common and straightforward problem, so the difficulty level was easy.