Algorithm For Implementing Queue Using Stacks Leetcode Contest