上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 68 下一页
摘要: 题目如下: Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds 阅读全文
posted @ 2019-12-23 09:54 seyjs 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 题目如下: You have a pointer at index 0 in an array of size arrLen. At each step, you can move 1 position to the left, 1 position to the right in the arra 阅读全文
posted @ 2019-12-15 09:17 seyjs 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a square grid of integers arr, a falling path with non-zero shifts is a choice of exactly one element from each row of arr, such that no t 阅读全文
posted @ 2019-12-15 09:10 seyjs 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a list of intervals, remove all intervals that are covered by another interval in the list. Interval [a,b) is covered by interval [c,d) if 阅读全文
posted @ 2019-12-15 08:58 seyjs 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time. Return t 阅读全文
posted @ 2019-12-15 08:55 seyjs 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number comb 阅读全文
posted @ 2019-12-15 08:53 seyjs 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m x n binary matrix mat. In one step, you can choose one cell and flip it and all the four neighbours of it if they exist (Flip is chang 阅读全文
posted @ 2019-12-11 22:37 seyjs 阅读(466) 评论(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 r 阅读全文
posted @ 2019-12-11 22:35 seyjs 阅读(518) 评论(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 阅读全文
posted @ 2019-12-11 22:28 seyjs 阅读(458) 评论(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: 阅读全文
posted @ 2019-12-11 22:26 seyjs 阅读(420) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 68 下一页