摘要: 题目如下: 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 numbersRetu 阅读全文
posted @ 2019-12-23 10:48 seyjs 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Example 2: Constraints: 1 <= nums.length < 阅读全文
posted @ 2019-12-23 10:45 seyjs 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 题目如下: We want to use quad trees to store an N x N boolean grid. Each cell in the grid can only be true or false. The root node represents the whole gr 阅读全文
posted @ 2019-12-23 10:41 seyjs 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a rectangle of size n x m, find the minimum number of integer-sided squares that tile the rectangle. Example 1: Example 2: Example 3: Cons 阅读全文
posted @ 2019-12-23 10:38 seyjs 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m x n matrix mat and an integer threshold. Return the maximum side-length of a square with a sum less than or equal to threshold or retu 阅读全文
posted @ 2019-12-23 10:33 seyjs 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 题目如下: An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the in 阅读全文
posted @ 2019-12-23 10:09 seyjs 阅读(652) 评论(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 阅读全文
posted @ 2019-12-23 09:54 seyjs 阅读(506) 评论(0) 推荐(0) 编辑