There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. C.A.R. Hoare
Write a program to retrieve the maximum and minimum element from a queue.
Itmes in the Stack: [12, 1, 12, 56, 78, 99] Minimum item from the stack:1 Maximum item from the stack:99