Domanda di colloquio di Bloomberg

modified two sum leetcode and then time complexity and space