摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:46 */public class TestDoubleNode { public static void main(String[] args) { //创建节点 DoubleNode 阅读全文
posted @ 2020-02-14 19:35 1350464730 阅读(142) 评论(0) 推荐(0)
摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:32 */public class DoubleNode { //上一个节点(等于this)保证循环 DoubleNode pre=this; //下一个节点 DoubleNode ne 阅读全文
posted @ 2020-02-14 19:34 1350464730 阅读(168) 评论(0) 推荐(0)
摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 13:25 *///循环链表测试public class TestLoopNode { public static void main(String[] args) { LoopNode n1 阅读全文
posted @ 2020-02-14 19:32 1350464730 阅读(198) 评论(0) 推荐(0)
摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:20 *///一个节点 //循环链表public class LoopNode { //节点内容 int data; //下一个节点(循环链表只需要加一个this即可) LoopNode 阅读全文
posted @ 2020-02-14 19:30 1350464730 阅读(181) 评论(0) 推荐(0)
摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:25 *///普通链表测试public class TestNode { public static void main(String[] args) { //创建节点 Node n1=n 阅读全文
posted @ 2020-02-14 19:28 1350464730 阅读(253) 评论(0) 推荐(0)
摘要: package com.node;/** * @auther 付强 * @date 2020/2/14 - 9:20 *///一个节点 //普通链表public class Node { //节点内容 int data; //下一个节点 Node next; public Node(int data 阅读全文
posted @ 2020-02-14 19:26 1350464730 阅读(101) 评论(0) 推荐(0)
摘要: package com.kuang;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/14 - 19:02 */public class insertSort { public static void main(String[] args 阅读全文
posted @ 2020-02-14 19:23 1350464730 阅读(148) 评论(0) 推荐(0)
摘要: package com.kuang;import java.lang.reflect.Array;import java.util.Arrays;/** * @auther 付强 * @date 2020/2/14 - 18:39 */public class quickSort { public 阅读全文
posted @ 2020-02-14 18:57 1350464730 阅读(98) 评论(0) 推荐(0)
摘要: package com.digui;/** * @auther 付强 * @date 2020/2/14 - 14:00 *///递归public class TestRecursive { public static void main(String[] args) { print(5); } p 阅读全文
posted @ 2020-02-14 18:27 1350464730 阅读(174) 评论(0) 推荐(0)
摘要: package com.digui;/** * @auther 付强 * @date 2020/2/14 - 14:22 *///斐波那契实现public class TestFebonacci { public static void main(String[] args) { int i=feb 阅读全文
posted @ 2020-02-14 18:25 1350464730 阅读(184) 评论(0) 推荐(0)
摘要: package com.digui;/** * @auther 付强 * @date 2020/2/14 - 15:37 */public class TestHanoi { public static void main(String[] args) { hanoi(3,'A','B','C'); 阅读全文
posted @ 2020-02-14 18:09 1350464730 阅读(202) 评论(0) 推荐(0)