Qualtrics interview question

Two sum then Three Sum.