@johnmclain I think the main point of the problem was to implement Min operation. Just to implement stack is very simple, it wasn't the point of the problem, you can easily implement stack with very few operations using regular array and it wouldn't much differ from my solution using STL stack. But to implement Min operation needs thinking, so I didn't focus on implementing a regular stack, but only the Min operation.
Posts made by moytrage
RE: C++ Solution