結果 : stack implementation using array leetcode