NovoInvent Interview Question

2-sum DSA problem from leetcode