02 2021 档案

摘要:package com.dai.tree.threadedbinarytree; public class ThreadedBinaryTreeDemo { public static void main(String[] args) { //测试中序线索二叉树功能是否正确 HeroNode roo 阅读全文
posted @ 2021-02-27 00:02 shengtudai 阅读(66) 评论(0) 推荐(0) 编辑
摘要:package com.dai.tree; public class ArrBinaryTreeDemo { public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = {1,2,3, 阅读全文
posted @ 2021-02-27 00:00 shengtudai 阅读(108) 评论(0) 推荐(0) 编辑
摘要:package com.dai.tree; import java.net.NoRouteToHostException; public class BinaryTreeDemo { public static void main(String[] args) { //先创建一个二叉树 Binary 阅读全文
posted @ 2021-02-23 21:44 shengtudai 阅读(122) 评论(0) 推荐(0) 编辑
摘要:package com.dai.hashtab; import java.security.PublicKey; import java.util.Scanner; public class HashTabDemo { public static void main(String[] args) { 阅读全文
posted @ 2021-02-22 23:40 shengtudai 阅读(76) 评论(0) 推荐(0) 编辑
摘要:插值查找 package com.dai.search; import java.util.Arrays; public class InsertValueSearch { public static void main(String[] args) { int[] arr = new int[10 阅读全文
posted @ 2021-02-21 19:52 shengtudai 阅读(63) 评论(0) 推荐(0) 编辑
摘要:线性查找 package com.dai.search; public class SeqSearch { public static void main(String[] args) { // TODO Auto-generated method stub int[] arr = {1, 9, 1 阅读全文
posted @ 2021-02-20 21:25 shengtudai 阅读(120) 评论(0) 推荐(0) 编辑
摘要:package com.dai.sort; import java.util.Arrays; public class RadixSort { public static void main(String[] args) { // TODO Auto-generated method stub in 阅读全文
posted @ 2021-02-19 21:11 shengtudai 阅读(146) 评论(0) 推荐(0) 编辑
摘要:package com.dai.sort; import java.util.Arrays; public class MergeSort { public static void main(String[] args) { // TODO Auto-generated method stub in 阅读全文
posted @ 2021-02-18 21:58 shengtudai 阅读(58) 评论(0) 推荐(0) 编辑
摘要:package com.dai.sort; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; public class QuickSort { public static void m 阅读全文
posted @ 2021-02-10 22:02 shengtudai 阅读(82) 评论(0) 推荐(0) 编辑
摘要:package com.dai.sort; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import javax.xml.transform.Templates; public 阅读全文
posted @ 2021-02-09 21:28 shengtudai 阅读(87) 评论(0) 推荐(0) 编辑
摘要:选择排序: package com.dai.sort; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; public class SelectSort { public static 阅读全文
posted @ 2021-02-08 21:09 shengtudai 阅读(65) 评论(0) 推荐(0) 编辑
摘要:package com.dai.sort; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; public class BubbleSort { public static void 阅读全文
posted @ 2021-02-07 21:03 shengtudai 阅读(56) 评论(0) 推荐(0) 编辑
摘要:死亡8皇后游戏,点我试玩 package com.dai.recursion; public class Queue8 { //定义一个Max,表示多少皇后 int max = 8; static int count = 0; //定义数组array ,保存皇后放置位置的结果 int[] array 阅读全文
posted @ 2021-02-06 21:33 shengtudai 阅读(92) 评论(0) 推荐(0) 编辑
摘要:package com.dai.recursion; public class MiGong { public static void main(String[] args) { //先创建一个二维数组,模拟迷宫 int[][] map = new int[8][7]; //使用1 表示墙 //把上 阅读全文
posted @ 2021-02-05 22:59 shengtudai 阅读(96) 评论(0) 推荐(0) 编辑
摘要:package com.dai.stack; import java.util.List; import java.util.ArrayList; import java.util.Stack; import javax.sql.rowset.JoinRowSet; import javax.swi 阅读全文
posted @ 2021-02-03 22:02 shengtudai 阅读(92) 评论(0) 推荐(0) 编辑
摘要:package com.dai.stack; public class Calculator { public static void main(String[] args) { //完成表达式的运算 String expression = "103+2*6-6-6"; //创建数栈和符号栈 Arr 阅读全文
posted @ 2021-02-02 21:45 shengtudai 阅读(77) 评论(0) 推荐(0) 编辑
摘要:package com.dai.stack; import java.util.Scanner; public class LinkedListStack { public static void main(String[] args) { //先创建一个ArrayStack对象 Stack sta 阅读全文
posted @ 2021-02-01 23:13 shengtudai 阅读(67) 评论(0) 推荐(0) 编辑
摘要:package com.dai.stack; import java.util.Scanner; public class ArrayStackDemo { public static void main(String[] args) { //先创建一个ArrayStack对象 ArrayStack 阅读全文
posted @ 2021-02-01 22:08 shengtudai 阅读(95) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示