Domanda di colloquio di Apple

Write 4 classes of stack operations, the stack receives input of characters, each input size changes dynamically.