上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 76 下一页
摘要: There are some chips, and the i-th chip is at position chips[i]. You can perform any of the two following types of moves any number of times (possibly 阅读全文
posted @ 2020-01-18 10:34 Schwifty 阅读(203) 评论(0) 推荐(0)
摘要: Given an array of integers nums and a positive integer k, find whether it's possible to divide this array into sets of k consecutive numbersReturn Tru 阅读全文
posted @ 2020-01-18 06:44 Schwifty 阅读(429) 评论(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 and o 阅读全文
posted @ 2020-01-18 01:29 Schwifty 阅读(299) 评论(0) 推荐(0)
摘要: 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 the bi 阅读全文
posted @ 2020-01-17 14:03 Schwifty 阅读(286) 评论(0) 推荐(0)
摘要: Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums = [12,345,2,6,7896] Output: 2 Explan 阅读全文
posted @ 2020-01-17 13:45 Schwifty 阅读(255) 评论(0) 推荐(0)
摘要: Given an array of non-negative integers arr, you are initially positioned at start index of the array. When you are at index i, you can jump to i + ar 阅读全文
posted @ 2020-01-17 12:13 Schwifty 阅读(351) 评论(0) 推荐(0)
摘要: Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: 阅读全文
posted @ 2020-01-16 14:57 Schwifty 阅读(175) 评论(0) 推荐(0)
摘要: Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio 阅读全文
posted @ 2020-01-16 14:00 Schwifty 阅读(142) 评论(0) 推荐(0)
摘要: A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents 阅读全文
posted @ 2020-01-16 13:04 Schwifty 阅读(123) 评论(0) 推荐(0)
摘要: Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it exist 阅读全文
posted @ 2020-01-15 14:21 Schwifty 阅读(286) 评论(0) 推荐(0)
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 76 下一页