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