2014年3月4日

摘要: Binary-Search (A, x) l = 0, r = A.length while l A[i]: l = i + 1 else return i return -1 // Not-FoundInsert-Sort (A) for i = 1 to A.length test = A[i] j = i - 1 while j >= 0 and test < A[j]: //Ascend A[j+1] = A[j] A[j+1] = testDFS(solutioin) if solution is ok: process(solut... 阅读全文
posted @ 2014-03-04 23:11 Anthony-黄亮 阅读(137) 评论(0) 推荐(0) 编辑

导航