摘要: 原理,递归反转栈 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Threading.Tasks; 5 6 namespace StacksReverse 7 { 8 ... 阅读全文
posted @ 2015-12-10 22:43 shidengyun 阅读(307) 评论(0) 推荐(0) 编辑
摘要: //原理,利用两个栈,互相作用,来模仿堆的效果,先进先出。。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Threading.Tasks; 5 6 namespace... 阅读全文
posted @ 2015-12-10 22:03 shidengyun 阅读(198) 评论(0) 推荐(0) 编辑