Snap interview question

Easy question. Two sum, three sum.