• + 1 comment

    The problem does not require Queue structre to use but the logic/understanding of the queue helps in breaking down the solution.