Pergunta de entrevista da empresa ServiceNow

L2: https://leetcode.com/problems/two-sum/description/ & how to solve this without using extra memory.