码迷,mamicode.com
首页 >  
搜索关键字:complexity    ( 1097个结果
二叉树中的最大路径和 · Binary Tree Maximum Path Sum
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:其他好文   时间:2018-01-29 15:46:45    阅读次数:98
二叉树的最大深度
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:其他好文   时间:2018-01-28 19:07:50    阅读次数:163
Binary Tree Traversal 二叉树的前中后序遍历
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:其他好文   时间:2018-01-27 21:21:42    阅读次数:193
LeetCode 148. Sort List
Sort a linked list in O(n log n) time using constant space complexity. 题目要求给定时间复杂度对链表进行排序,但是我个人认为题目要求不是很合理,使用归并排序时间复杂度满足要求,但是空间复杂度并不为常数,所以个人认为这道题不严谨,说 ...
分类:其他好文   时间:2018-01-20 14:05:28    阅读次数:165
CS3334 Lecture 1
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
乱序字符串anagrams
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [二刷]: [三刷]: [四刷]: [五刷]: [总结]: [复杂度]:Time complexity: O() Space com ...
分类:其他好文   时间:2018-01-14 00:55:48    阅读次数:143
重哈希 · rehashing
[抄题]: [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况:异常情况(不合法不合理的输入): [画图]: [一刷]: [总结]: [复杂度]:Time complexity: O() Space complexity: O() [英文数据结构,为什么 ...
分类:其他好文   时间:2018-01-09 18:38:41    阅读次数:122
LeeCode(No4 - Median of Two Sorted Arrays)
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
1097条   上一页 1 ... 12 13 14 15 16 ... 110 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!