People think that computer science is the art of geniuses but the actual reality is the opposite, just many people doing things that build on each other, like a wall of mini stones. Donald Knuth

Queue Maximum

Language Java | Level Intermediate | Category Data structure | August 30, 2015 5:14 pm

Data structure Description

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



No comments available!

Please login to add comments.