上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 76 下一页
摘要: Koko loves to eat bananas. There are N piles of bananas, the i-th pile has piles[i] bananas. The guards have gone and will come back in H hours. Koko 阅读全文
posted @ 2019-12-19 11:04 Schwifty 阅读(268) 评论(0) 推荐(0)
摘要: A 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 weight 阅读全文
posted @ 2019-12-19 10:27 Schwifty 阅读(165) 评论(0) 推荐(0)
摘要: Given an array of integers nums and an integer threshold, we will choose a positive integer divisor and divide all the array by it and sum the result 阅读全文
posted @ 2019-12-19 09:35 Schwifty 阅读(560) 评论(0) 推荐(0)
摘要: There are n people whose IDs go from 0 to n - 1 and each person belongs exactly to one group. Given the array groupSizes of length n telling the group 阅读全文
posted @ 2019-12-19 08:00 Schwifty 阅读(304) 评论(0) 推荐(0)
摘要: Given an integer number n, return the difference between the product of its digits and the sum of its digits. Example 1: Input: n = 234 Output: 15 Exp 阅读全文
posted @ 2019-12-19 05:33 Schwifty 阅读(320) 评论(0) 推荐(0)
摘要: The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding one 阅读全文
posted @ 2019-12-05 15:09 Schwifty 阅读(149) 评论(0) 推荐(0)
摘要: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. Now, given an integer n, write 阅读全文
posted @ 2019-12-05 14:07 Schwifty 阅读(170) 评论(0) 推荐(0)
摘要: Given a m * n matrix of ones and zeros, return how many square submatrices have all ones. Example 1: Input: matrix = [ [0,1,1,1], [1,1,1,1], [0,1,1,1] 阅读全文
posted @ 2019-12-04 10:55 Schwifty 阅读(427) 评论(0) 推荐(0)
摘要: Given two integers tomatoSlices and cheeseSlices. The ingredients of different burgers are as follows: Jumbo Burger: 4 tomato slices and 1 cheese slic 阅读全文
posted @ 2019-12-04 04:49 Schwifty 阅读(397) 评论(0) 推荐(0)
摘要: Tic-tac-toe is played by two players A and B on a 3 x 3 grid. Here are the rules of Tic-Tac-Toe: Players take turns placing characters into empty squa 阅读全文
posted @ 2019-12-03 15:14 Schwifty 阅读(325) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 76 下一页