Leetcode Design Min Stack Implementation Using Arrays