problem - https://leetcode.com/problems/implement-stack-using-queues/
solution - https://ideone.com/aK72JH
Why changes made in push and pop is not followed in top method.
Please help.