JavaScript - Find the maximum and minimum elements in a stack

JavaScript - Find the maximum and minimum elements in a stack

More to explore