Learning A-Z Interview Question

Two sum