結果 : algorithm of pop operation in stack with example