Visa Inc. interview question

Leetcode Two sum, Three sum and K sum variations