OpenGov Interview Question

Solve the problem Two Sum (from LeetCode)