摘要: 题目如下: Given a positive integer N, return the number of positive integers less than or equal to N that have at least 1 repeated digit. Example 1: Input 阅读全文
posted @ 2019-11-12 13:59 seyjs 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 题目如下: In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a 阅读全文
posted @ 2019-11-12 13:38 seyjs 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a list of words, list of single letters (might be repeating) and score of every character. Return the maximum score of any valid set of wo 阅读全文
posted @ 2019-11-12 13:27 seyjs 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a 2D grid consists of 0s (land) and 1s (water). An island is a maximal 4-directionally connected group of 0s and a closed island is an isl 阅读全文
posted @ 2019-11-12 13:20 seyjs 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given the following details of a matrix with n columns and 2 rows : The matrix is a binary matrix, which means each element in the matrix can be 阅读全文
posted @ 2019-11-12 13:19 seyjs 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For each pair of 阅读全文
posted @ 2019-11-12 11:01 seyjs 阅读(533) 评论(0) 推荐(0) 编辑