Leetcode Stack And Queue Application