Sesing the Data Structures & Algorithms in Java

According the Pearl in Programming ,the first correct  dicotomy search  algorithms is coded at 1966 thouth the algorithms is absent at 1946.Believe or not,but i think the followed code is right.

public void dictomySearch(int[] arrays,int element,int begin,int end){
if  (arrays[begin] == element) return begin;
if  (arrays[end]   == element)  return end;
if  (begin<=end) return -1;
int mid = (begin+end)/2;
if (arrays[mid]<element)
return dictomySearch(arrays,element,mid+1,end-1);
else if (arrays[mid]>element)
return dictomySearch(arrays,element,begin+1,mid-1);
else return mid;
}

Data Structures and Algorithms in Java, 5th Edition .pdf

2012年12月17日 41.01MB 下载

[Michael T. Goodrich]Data Structures and Algorithms in Java 6th Edition.2014.pdf

2015年02月02日 9.4MB 下载

Java数据结构和算法中文第二版--Data Structures & Algorithms in Java

2011年05月23日 23.99MB 下载

Data Structures And Algorithms In Java 2nd PDF

2016年04月12日 3.69MB 下载

数据结构复习笔记(Data Structures & Algorithms in Java, 4th) --Garbage Collection

2016-08-06 22:19:42

数据结构复习笔记(Data Structures & Algorithms in Java, 4th) --Memory Management (Heap & Stack)

2016-07-01 00:20:38

数据结构复习笔记(Data Structures & Algorithms in Java, 4th)－Trees

2016-12-15 00:40:40

Data Structures and Algorithms Made Easy in Java

2017年08月08日 35.73MB 下载

数据结构复习笔记(Data Structures & Algorithms in Java, 4th) - recursive 递归

2016-12-02 23:20:18

Data structures and algorithms in java 6th

2015年01月15日 9.4MB 下载