Solved This Problem Can Be Easily Solved Using Your Queue

Solved This Problem Can Be Easily Solved Using Your Queue