結果 : write different applications of stack with examples