上一页 1 ··· 4 5 6 7 8
摘要: public class BinarySearch { public static void main(String[] args) { int []arr={1,3,8,66,148,155}; System.out.println(binarySearch(arr,8)); System.out 阅读全文
posted @ 2017-02-19 20:04 我_会飞的鱼 阅读(964) 评论(0) 推荐(0) 编辑
摘要: package cn.demo;import java.util.LinkedList;import java.util.List; //二叉树的定义,孩子表示法public class BinTreeTraverse2 { //定义一个数字,将数组转换为完全二叉树 private int[] ar 阅读全文
posted @ 2017-02-19 19:40 我_会飞的鱼 阅读(1628) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8