上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页
摘要: 拖延只会让你成为昨天的奴隶 狼道:格局有多大,事业就能做多高 如果少年多些努力,那么年老就会多点欣慰 得失就像椭圆上一点到两焦点的距离是定值,一边长了那么另一边肯定会短 别整天把自己幻想成悲剧主角,生活没那么多感情戏给你, 我出身不好,教养也差,但一直努力尝试做一个体面的人 如果你不努力工作,学习或 阅读全文
posted @ 2019-11-13 14:10 电院院长 阅读(319) 评论(0) 推荐(0)
摘要: 不能 阅读全文
posted @ 2019-11-13 13:38 电院院长 阅读(365) 评论(0) 推荐(0)
摘要: "崔庆才的个人博客" 阅读全文
posted @ 2019-11-12 10:12 电院院长 阅读(140) 评论(0) 推荐(0)
摘要: 证明质数有无数个 欧几里得 反证法 阅读全文
posted @ 2019-11-11 13:20 电院院长 阅读(393) 评论(0) 推荐(0)
摘要: ```c /* Author: Zoro Date: 2019/11/10 Function: Valid Anagram Title: leetcode 242 anagram.c think: 桶排序思想 */ #include #include #include bool isAnagram(char *s, char *t) { int statS[26] = {0}; int statT 阅读全文
posted @ 2019-11-11 11:57 电院院长 阅读(129) 评论(0) 推荐(0)
摘要: ```c /* Author: Zoro Date: 2019/11/10 Function: Majority Element Title: leetcode 169 think: 出现的次数最多,且大于数组的二分之一 两种方法:统计方法,数据结构法 1: 空 入栈 2: 栈顶 = 元素 入栈 3: 其它情况 出栈 majority.c 时间复杂度: O(n) 空间复杂度: O(n) */ #i 阅读全文
posted @ 2019-11-11 11:55 电院院长 阅读(145) 评论(0) 推荐(0)
摘要: ```c /* quicksort.c Author: Zoro Date: 2019/11/8 function: 快速排序 QuickSort pivot partition */ #include void quickSort(int arr[], int L, int R) { int i = L; int j = R; int pivot = arr[(L + R) / 2]; whil 阅读全文
posted @ 2019-11-08 14:58 电院院长 阅读(197) 评论(0) 推荐(0)
摘要: ```c/*Insertion SortAuthor: ZoroDate: 2019/11/7function: 插入排序*/#include void insert(int arr[], int n) { int key = arr[n]; int i = n; while (arr[i-1] > key) { arr[i] = arr[i-1]; ... 阅读全文
posted @ 2019-11-07 23:41 电院院长 阅读(119) 评论(0) 推荐(0)
摘要: ```c /* Selection Sort Writed by Zoro Date: 2019/11/7 function:选择排序 3 7 4 2 6 1 3 1 4 2 6 7 3 1 4 2 6 7 3 1 2 4 6 7 1 2 3 4 6 7 */ #include int findMaxPos(int arr[], int n) { int max = arr[0]; int pos 阅读全文
posted @ 2019-11-07 23:28 电院院长 阅读(139) 评论(0) 推荐(0)
摘要: ```c/*bubble.cwrite by Zorodate: 2019/11/7function: 冒泡排序*/#include void bubble(int arr[], int n) { int i; int tmp; for (i = 0; i arr[i+1]) { tmp = arr[i]; arr[i] = arr[... 阅读全文
posted @ 2019-11-07 23:13 电院院长 阅读(115) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页