solve 3 sum closest, 4sum and letter combinations of a phone number