Topic: Queue Problem / Level: advanced

Problem: Implement a queue that supports peek operations on both ends.

Run the code to see the output here...