Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 233 Bytes

README.md

File metadata and controls

3 lines (3 loc) · 233 Bytes

Max-Stack

Stack implementation in Java where all the methods have O(1) time comlexity. All regular stack methods are there with the inclusion of a method getMax() that returns the largest value in the stack but does not remove it.