摘要: //queue STL //queue is just a container adaptor, which is a class that use other container. //just like stack q1.push(x) //push x into the queue q1.pop() //pop the first element in the que... 阅读全文
posted @ 2016-10-13 15:38 KennyRom 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1. Definiation What is a queue? A queue is a list. With a queue, inseration is done at one end (known as rear) whereas deletion is performed at the ot 阅读全文
posted @ 2016-10-13 10:39 KennyRom 阅读(195) 评论(0) 推荐(0) 编辑