The task is to design a stack which can get the maximum value in the stack in O(1) time without using an additional stack. Examples:… Read More »
The post Find maximum in stack in O(1) without using additional stack appeared first on GeeksforGeeks.
Find maximum in stack in O(1) without using additional stack
Reviewed by Shoaib Khan
on
March 30, 2019
Rating:
No comments: