今天一开始用C去摸栈和队列,差不多昨天早上也在摸,摸烦了就去搞DP然后DP也没搞好,就是很烦很烦!!!!
然后今天那些C的栈队列的步骤和名称熟的不要不要的,然而数据结构的c语言用指针,传递,简直麻烦,后来我去问了个问题(向学长),然后学长说,可以去看STL模板了...
然后我就。。。。。。。真的崩溃,摸了好久,要转去看STL,虽然本应该就看。。。
废话不多说,还是开始吧。
好的说明教程在
http://www.cnblogs.com/mfryf/archive/2012/08/09/2629992.html
说是原创其实还是有点。。。那什么。心得也没有。
stack就是FILO
queue就是FIFO
这个知道,然后去学一下,然后练习一下,应该就好了,不过先搞搞C语言的那些真的也好。挺不错的呢。
案例