[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:
其他好文 时间:
2018-01-29 15:46:45
阅读次数:
98
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:
其他好文 时间:
2018-01-28 19:07:50
阅读次数:
163
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:
其他好文 时间:
2018-01-27 21:21:42
阅读次数:
193
Sort a linked list in O(n log n) time using constant space complexity. 题目要求给定时间复杂度对链表进行排序,但是我个人认为题目要求不是很合理,使用归并排序时间复杂度满足要求,但是空间复杂度并不为常数,所以个人认为这道题不严谨,说 ...
分类:
其他好文 时间:
2018-01-20 14:05:28
阅读次数:
165
Lecture 1: Complexity Analysis How to measure Running time: Use a function to model the running time of a program or procedure. Assume an abstract mac ...
分类:
其他好文 时间:
2018-01-20 12:38:15
阅读次数:
128
1.关于银弹 我个人倾向于认为是不存在银弹的。正如Brooks所说:“The complexity of software is an essential property, not an accidental one.[1]”,科学研究中可以通过降低复杂性来探寻本质的前提是本质是简洁的,不复杂的, ...
分类:
其他好文 时间:
2018-01-14 13:51:50
阅读次数:
178
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:
其他好文 时间:
2018-01-14 00:55:48
阅读次数:
143
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [总结]: [复杂度]:Time complexity: O() Space complexity: O() [英文数据结构,为什么 ...
分类:
其他好文 时间:
2018-01-09 18:38:41
阅读次数:
122
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2018-01-05 19:52:37
阅读次数:
106
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [总结]: [复杂度]:Time complexity: O() Space complexity: O() [英文数据结构,为什么 ...
分类:
编程语言 时间:
2017-12-26 17:50:55
阅读次数:
107