Aditya,
1) Nobody dies on the first 19 days everyone dies on the 20th day.
2) Even if it wasnt the case, why should he die just because nobody else
did? Is there any condition on THERE SHOULD BE ATLEAST ONE GREEN EYED GUY?
On Fri, Dec 17, 2010 at 12:52 PM, Aditya Agrawal adit6...@gmail.com
@ashuthosh:
MAintaining min and max pointers would mean another way of saying
constant space right?
On Thu, Sep 30, 2010 at 12:17 AM, saurabh singh saurabh.n...@gmail.comwrote:
You will just need to see what is min and max available on the current top
before push. in case of pop u dnt need