2015年1月6日

二分查找binarySearch

摘要: 1 #include 2 #include 3 #include 4 5 #define ARRAY_SIZE 10 6 7 int binarySearch(int *arr, int size, int target) 8 { 9 int low = 0;10 in... 阅读全文

posted @ 2015-01-06 14:55 VincentEcho 阅读(126) 评论(0) 推荐(0)

快速排序quicksort实现方法

摘要: 1 #include 2 #include 3 4 #define ARRAY_SIZE 10 5 6 void swap(int *x, int *y) 7 { 8 int a = *x; 9 *x = *y;10 *y = a;11 }12 13 int ran... 阅读全文

posted @ 2015-01-06 14:34 VincentEcho 阅读(290) 评论(0) 推荐(0)

读书清单

摘要: IT:构建之法:http://book.douban.com/subject/25965995/数学之美 (第二版):http://book.douban.com/subject/26163454/ 阅读全文

posted @ 2015-01-06 11:51 VincentEcho 阅读(145) 评论(0) 推荐(0)

导航