Pregunta de entrevista de Uber

rhombus sums, two sum, triplets in array, array problem with greedy / sorting