上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 1 package ren.laughing.datastructure.baseImpl; 2 3 import ren.laughing.datastructure.base.Queue; 4 import ren.laughing.datastructure.exception.QueueEmptyException; 5 /** 6 * 队列的链式存储 7 * 单链表... 阅读全文
posted @ 2016-04-07 20:23 回看欧洲 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 队列的ADT: 循环队列的顺序存储实现,采用少一存储空间的方法: 循环队列的顺序存储实现,采用加标志size的方法: 阅读全文
posted @ 2016-04-07 17:08 回看欧洲 阅读(705) 评论(0) 推荐(0) 编辑
摘要: Stack的ADT: 栈的顺序存储: 栈的链式存储: 阅读全文
posted @ 2016-04-07 12:12 回看欧洲 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 链接表ADT: 双向链表: 涉及到使用迭代器遍历链表,代码如下: 阅读全文
posted @ 2016-04-06 17:36 回看欧洲 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1 package ren.laughing.datastructure.baseImpl; 2 3 import ren.laughing.datastructure.base.List; 4 import ren.laughing.datastructure.base.Strategy; 5 import ren.laughing.datastructure.excep... 阅读全文
posted @ 2016-04-06 11:32 回看欧洲 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 抽象数据模型ADT: 数据元素的比较策略: 线性表的实现:顺序存储结构 阅读全文
posted @ 2016-04-05 19:37 回看欧洲 阅读(272) 评论(0) 推荐(0) 编辑
摘要: package com.laughing.test; import java.util.Scanner; /** * 汉诺塔问题 * 递归算法 * @author Laughing * @time 2016年3月22日 */ public class HanNuoTa { private stati 阅读全文
posted @ 2016-03-22 15:49 回看欧洲 阅读(218) 评论(0) 推荐(0) 编辑
摘要: package com.laughing.test; import java.util.Scanner; /** * 汉诺塔问题 * 递归算法 * @author Laughing * @time 2016年3月22日 */ public class HanNuoTa { private stati 阅读全文
posted @ 2016-03-22 15:49 回看欧洲 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 参考本人java版http://www.cnblogs.com/Laughing-Lz/p/5364396.html,已理解! 如题,求助这个已满和为空是怎么判断的?队列已满 的那个if判断条件里:(q->rear+1)%maxsize == q->float,求解释··· 阅读全文
posted @ 2016-03-21 20:35 回看欧洲 阅读(2072) 评论(11) 推荐(0) 编辑
摘要: 参考http://bbs.csdn.net/topics/391116087中3楼代码,对onCheck事件设置标志位,控制递归的开始和结束 var flag = 1;//控制递归标志位 $('#tree').tree({ url : sy.contextPath + '/base/syorgani 阅读全文
posted @ 2016-02-25 17:58 回看欧洲 阅读(675) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页