3. I do not remember this question. But I solved this question using priority-queue
Anoniem
I solved this question partially. One was supposed to solve at least 2 complete questions and one partial question to get selected for the interview round. I solved 1 and 2 completely but 3 partially and got selected for the next round.