RemoteState Interview Question

Two sum problem in a array.