Reverse the first K elements of a queue

1 min read

https://practice.geeksforgeeks.org/problems/reverse-first-k-elements-of-queue/1

Reverse a queue using recursion
Interleave the first half of the queue with second half