結果 : algorithm of push and pop operation in stack