摘要:
// perform a binary search on the data public int BinarySearch( int searchElement ) { private int[] data; int low = 0; // low end of the search area int high = data.Length - 1; // high end of the search area int middle = ( low + high + 1 ) / 2; // middle element int location = -1; // return value; . 阅读全文
posted @ 2008-03-26 15:30
WEB-网站建设分享交流
阅读(155)
评论(0)
推荐(0)