Motorola Solutions Interview Question

Describe how a stack works and give an example