-
2都刷了多少offer了
-
7好几分钟才行。。。一直pending状态,有时候还timeout,是我一个人这样,还是大家都这样。。。
-
3缓和下气氛
-
9
-
10二位,Next Permutation这个题你们做了没? 我把代码贴上去之后,报错,输入是[1, 1],报错信息是“Runtime Error” 按照题设的意思,我认为输出应该
-
4
-
1
-
2用java做了其中的140题,求交流! 我blog网址:zhengjunli.com 里面配了我的解法还有一些思路,中英文夹杂。。。
-
1
-
3大家好,我是马上要晋升为码农的新生。现在自学java中,想问一下各位要想比较顺利的刷题,还需要学点什么知识,最好有推荐的书
-
6大家快来贴吧讨论解题思路吧!!!
-
4力扣官网又崩了?
-
1贴吧新人,向给位吧友报到啦,共享我的LeetCode题解,各位吧友多多指教哦。github地址是yanzhe-chen/leetcode。
-
3下面有二维码
-
12挺久没刷题了 突然发现英文版的打开不了了 有吧友赐教一波吗
-
1直接遍历一遍也可以通过
-
7
-
19网炸了?
-
15vx 122294132 qq也是
-
1周赛奖励的leetcoin啥时候到呀
-
5你们刷题的时候只用一种语言吗?
-
3
-
2
-
3发个能免费看leetcode加锁题以及公司分类的网站 貌似不是实时更新,但最晚一周内能看到最新的题目 leetcode点jp/problems点php 防吞楼 上面链接把点换成.
-
10A conveyor belt has packages that must be shipped from one port to another within D days. The i-th package on the conveyor belt has a weight of weights[i]. Each day, we load the ship with packages on the conveyor belt (in the order given by weights). We may not load more weight than the maximum weight capacity of the ship. Return the least weight capacity of the ship that will result in all the packages on the conveyor belt being shipped within D days. 给一个数组 代表 需要运输的货物分别多重,运输的时候 也要按这个先后顺序运。 求如果D天里面运完。 安
-
8面对medium的题目始终抱有不可小觑的心。这次周赛顺利做好两道easy的以后 想如果能再拿下这道medium那么是不是可以进1000了? 给一个都是整数的数组,返回 和可以被K整除的子数组 数。 Given an array A of integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible by K. Example 1: Input: A = [4,5,0,-2,-3,1], K = 5 Output: 7 Explanation: There are 7 subarrays with a sum divisible by K = 5:[4, 5, 0, -2, -3, 1], [5], [5, 0], [5, 0, -2, -3], [0], [0, -2, -3], [-2, -3] Note: 数组最长30000。如果O(n^2)
-
13有八个牢房。有空的,也有有犯人的。 There are 8 prison cells in a row, and each cell is either occupied or vacant. 每天,牢房要重新分配一下。规则如下 Each day, whether the cell is occupied or vacant changes according to the following rules: 如果这个牢房相邻的两个房间都是空的。或者都有人的。那么下次这个房间就要安排犯人 If a cell has two adjacent neighbors that are both occupied or both vacant, then the cell becomes occupied. 否则,下一次就要空着。 Otherwise, it becomes vacant. (值得注意的是,牢房是排
-
1急!!!leetcode做题页面不能滚动,怎么解决啊?有没有遇到类似问题的,搞得现在编写起来很痛苦。。。
-
3
-
0百度id:robots998 大家注意!!!