Provide DS and algo for push, pop and min or max should be in O(1) ( constant time) with extra memory and without extra memory.
Will it be possible without extra memory ? Thanks, Sathaiah -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
