question is just to retrieve minimum element and not to do any operation
like push pop on it....
so do one thing push the element on stack with one more data member that
contains minimum number seen till now...that will be enough[?]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

<<inline: 338.gif>>

Reply via email to