Zomentum Interview Question

2 sum and 3 sum