摘要: 数学公式,边用边看,勿刻意背公式 在刷LeetCode中写算法复杂度的时,之前简单的直接用普通O(n)就这样表示了,到后来难搞的完全没法写了... 比如:LeetCode 22. 括号生成这一题; 题解的时间复杂度和空间复杂度是 如图: 又有根号又有分子分母还有多次方... 翻查Markdown数学 阅读全文
posted @ 2020-04-09 20:48 图灵的图,图灵的灵。 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 22. 括号生成 题目 数字 n 代表生成括号的对数,请你设计 阅读全文
posted @ 2020-04-09 19:34 图灵的图,图灵的灵。 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 146. LRU缓存机制 题目 运用你所掌握的数据结构,设计和 阅读全文
posted @ 2020-04-09 00:15 图灵的图,图灵的灵。 阅读(275) 评论(0) 推荐(0) 编辑