kb
BAN USER
Questions (2)
Comments (3)
Reputation 20
- 0of 0 votes
AnswersGiven a few numbers, how will you push them into a stack such that whenever I pop the top most element from that stack, I get the minimum number from the bunch. Also he wanted me to tell the pop push algorithm such that the order of insertion and popping should be O(1).
- kb in India| Report Duplicate | Flag | PURGE
Yahoo
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Open Chat in New Window
Open Chat in New Window
Well got it..!! perfect soln..!! :)
- kb August 13, 2012