04 2022 档案

摘要:Given an array of integers nums and a positive integer k, check whether it is possible to divide this array into sets of k consecutive numbers. Return 阅读全文
posted @ 2022-04-27 11:41 Grandyang 阅读(235) 评论(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 @ 2022-04-24 01:22 Grandyang 阅读(248) 评论(0) 推荐(0) 编辑
摘要:You are given a map of a server center, represented as a m * n integer matrix grid, where 1 means that on that cell there is a server and 0 means that 阅读全文
posted @ 2022-04-22 12:19 Grandyang 阅读(218) 评论(0) 推荐(0) 编辑
摘要:You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left, or right from and to an e 阅读全文
posted @ 2022-04-19 12:40 Grandyang 阅读(870) 评论(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 return 0 i 阅读全文
posted @ 2022-04-15 09:51 Grandyang 阅读(1116) 评论(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 integers 阅读全文
posted @ 2022-04-04 23:15 Grandyang 阅读(444) 评论(0) 推荐(0) 编辑

Fork me on GitHub