摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 1248. 统计「优美子数组」 题目 给你一个整数数组 num 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 200. 岛屿数量 题目 给你一个由 '1'(陆地)和 '0' 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 466. 统计重复个数 题目 由 n 个连接的字符串 s 组成 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 11. 盛最多水的容器 题目 给你 n 个非负整数 a1,a2 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 55. 跳跃游戏 题目 给定一个非负整数数组,你最初位于数组的 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 56. 合并区间 题目 给出一个区间的集合,请合并所有重叠的区 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 542. 01 矩阵 题目 给定一个由 0 和 1 组成的矩阵 阅读全文
摘要:
我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题 16.03. 交点 题目 给定两条线段(表示为起点st 阅读全文
摘要:
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 151. 翻转字符串里的单词 题目 给定一个字符串,逐个翻转字 阅读全文
摘要:
数学公式,边用边看,勿刻意背公式 在刷LeetCode中写算法复杂度的时,之前简单的直接用普通O(n)就这样表示了,到后来难搞的完全没法写了... 比如:LeetCode 22. 括号生成这一题; 题解的时间复杂度和空间复杂度是 如图: 又有根号又有分子分母还有多次方... 翻查Markdown数学 阅读全文