stack

When we see ordering, consider stack.

When we process item one by one, but I can't process current item, we move to next item (and that item might depend on current item), so we need something to save current item, consider stack.

When we use stack, if we need to get the first item, we can use vector for stack instead. 

posted @ 2018-05-04 14:33  JTechRoad  阅读(148)  评论(0编辑  收藏  举报