上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 198 下一页
摘要: package jiegou.bst; import sun.font.GlyphLayout; import sun.nio.cs.ext.TIS_620; // 二叉排序树 public class BinarySortTreeDemo { public static void main(Str 阅读全文
posted @ 2021-08-15 17:45 brady-wang 阅读(48) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/730162/202108/730162-20210815133914511-284628638.png) 阅读全文
posted @ 2021-08-15 15:02 brady-wang 阅读(20) 评论(0) 推荐(0)
摘要: package jiegou.tree; import jdk.packager.services.userjvmoptions.PreferencesUserJvmOptions; import java.util.ArrayList; public class ArrayTreeDemo { p 阅读全文
posted @ 2021-08-15 13:23 brady-wang 阅读(41) 评论(0) 推荐(0)
摘要: package jiegou.tree; public class BinaryTreeDemo { public static void main(String[] args) { // 先创建一颗二叉树 BinaryTree binaryTree = new BinaryTree(); Hero 阅读全文
posted @ 2021-08-15 12:37 brady-wang 阅读(102) 评论(0) 推荐(0)
摘要: package jiegou.tree; public class BinaryTreeDemo { public static void main(String[] args) { // 先创建一颗二叉树 BinaryTree binaryTree = new BinaryTree(); Hero 阅读全文
posted @ 2021-08-15 09:20 brady-wang 阅读(43) 评论(0) 推荐(0)
摘要: 问题表述为:设编号为1,2,...,n的n个人围坐一圈,约定编号为K(1<=k<=n)的人开始报数,数到m的那个人出列,它的下一位又从1开始报数,数到m的那个人又出列,依此类推,直到所有人出列为止,由此产生一个出队编号的序列 构建环形队列 package jiegou; //问题表述为:设编号为1, 阅读全文
posted @ 2021-08-15 00:01 brady-wang 阅读(137) 评论(0) 推荐(0)
摘要: java双向链表 package com.dg.brady; public class DoubleLinkedListDemo { public static void main(String[] args) { // 测试 System.out.println("双向链表的测试"); // 先创 阅读全文
posted @ 2021-08-14 21:31 brady-wang 阅读(69) 评论(0) 推荐(0)
摘要: package jiegou; import com.sun.corba.se.spi.protocol.RequestDispatcherDefault; import sun.tools.tree.ThisExpression; import java.util.List; import jav 阅读全文
posted @ 2021-08-14 20:27 brady-wang 阅读(119) 评论(0) 推荐(0)
摘要: java栈 package com.dg.brady; import java.util.Stack; public class StackDemo { public static void main(String[] args) { Stack<String> stack = new Stack< 阅读全文
posted @ 2021-08-14 20:20 brady-wang 阅读(72) 评论(0) 推荐(0)
摘要: 头结点不变 head 1 2 3 4 新建一个 newhead 不断从第一个 取下 1,2,3,4 newhead->1 new->2->1 new->3->2->1 new->4->3->2->1替换 head head->4->3->2->1 package jiegou; import com 阅读全文
posted @ 2021-08-14 20:06 brady-wang 阅读(50) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 198 下一页