Topic: Queue Problem / Level: intermediate

Problem: Write a program to reverse the first k elements of a queue.

Run the code to see the output here...