摘要: function binary_search(array, key){ let low = 0 let high = array.length - 1 while(low<=high){ let mid = parseInt((high+low)/2) if(array[mid] key){ ret 阅读全文
posted @ 2020-10-09 20:42 想学JS的前端 阅读(113) 评论(0) 推荐(0) 编辑