Microsoft Interview Question

They asked me to implement a stack and design a clock.