...

/

Challenge 3: Reversing First "k" Elements of Queue

Challenge 3: Reversing First "k" Elements of Queue

Can you reverse the first "k" elements in a given queue?

Problem statement

Implement the function myQueue reverseK(myQueue queue, int k), which takes a queue and a ...