Simple Stack Questions Leetcode