Leetcode Stack Using Array Python Size