Pregunta de entrevista de Flipkart

Based on heap, stacks, binary search, tree and graph