想面试今日头条的同学请进,这里有一份全都是字节跳动(今日头条)对笔试题的官方解释报告,想去头条的小伙伴关注
分类:
其他好文 时间:
2020-05-16 09:24:52
阅读次数:
380
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 121. 买卖股票的最佳时机 题目 给定一个数组,它的第?i ...
分类:
其他好文 时间:
2020-05-16 00:59:43
阅读次数:
74
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题63. 股票的最大利润 与以下题目相同 前往:LeetC ...
分类:
其他好文 时间:
2020-05-16 00:27:47
阅读次数:
51
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题64. 求1+2+…+n 题目 求 1+2+...+n ...
分类:
其他好文 时间:
2020-05-16 00:12:43
阅读次数:
76
2、数组_排序 刷题总结:一般数组逃不过这些方法方法 双指针:一个从头遍历,一个从尾遍历 三指针:一个从头遍历,一个从尾遍历,一个遍历数组本身,找满足条件的进行交换 从后向前遍历,从后向前填充! 75、颜色分类 方法:三指针 为什么用多指针? 1. 题目说遍历一次数组解决问题, 一般都是用多指针! ...
分类:
编程语言 时间:
2020-05-15 22:56:15
阅读次数:
84
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 8. 字符串转换整数 (atoi) 题目 请你来实现一个?at ...
分类:
其他好文 时间:
2020-05-15 00:10:47
阅读次数:
59
世界顶级选手的刷题之道 dreamoon,知名中国台湾籍ACM选手,此为他的codeforces曲线: 关于中间突降的那段,还有个小故事: 当时dreamoon已经是世界上的顶级选手,甚至前一场的div1他排名第3!(当时cf的分制和现在不同,所以现在看起来只是个红名) 由于他没有拿到过div2的第 ...
分类:
其他好文 时间:
2020-05-14 22:27:10
阅读次数:
133
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 136. 只出现一次的数字 题目 给定一个非空整数数组,除了某 ...
分类:
其他好文 时间:
2020-05-14 22:17:22
阅读次数:
67
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 236. 二叉树的最近公共祖先 题目 给定一个二叉树, 找到该 ...
分类:
其他好文 时间:
2020-05-12 17:21:51
阅读次数:
57
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 169. 多数元素 题目 给定一个大小为 n 的数组,找到其中 ...
分类:
其他好文 时间:
2020-05-12 15:24:02
阅读次数:
55