Pregunta de entrevista de OneDirect (India)

Tree, sets, two sum problem