結果 : write algorithm of push and pop operation on stack