2013年8月18日

用两个栈模拟队列

摘要: 用两个栈模拟队列,算法如下图所示:程序如下:Queue类的接口与实现 1 /******************************************************************** 2 created: 2013/08/18 3 created: 18:8:2013 21:54 4 file base: Queue 5 file ext: h 6 author: Justme0 (http://blog.csdn.net/Justme0) 7 8 purpos... 阅读全文

posted @ 2013-08-18 22:15 jjtx 阅读(565) 评论(0) 推荐(0) 编辑

导航