As you already know, a stack is a data structure realizing the so-called LIFO (Last In - First Out) model. It's easy and you've already grown perfectly accustomed to it. Let's taste something new now.
We need a class able to count seconds. Easy? Not as much as you may think as we're going to have some specific expectations. Read them carefully as the class you're about write will be used to launch ...