I have done above code but it is not giving expected output

Here is my code:- https://ide.codingblocks.com/s/357152

Hey @priya_Jain lemme send you correct code.

Your pop and front function is not performing as desired , follow this


Implementation to get desired output as I have added few comments for better understanding :grinning: