mackxu
子曰:学而时习之,不亦说乎?
摘要: 顺序查找算法实现如下:var arr = [5, 2, 4, 3, 1] , sequentialSearch = function(arr, val) { var i = 0 , len = arr.length; for ( ; i < l... 阅读全文
posted @ 2014-09-01 17:57 mackxu 阅读(1622) 评论(3) 推荐(0) 编辑