結果 : algorithm for stack operations in data structure