Pergunta de entrevista da empresa Amazon

select three number from array such that their sum is closest to target