上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 76 下一页
摘要: Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than  阅读全文
posted @ 2020-06-20 08:07 Schwifty 阅读(207) 评论(0) 推荐(0)
摘要: Given an array A of positive integers, call a (contiguous, not necessarily distinct) subarray of A good if the number of different integers in that su 阅读全文
posted @ 2020-06-19 03:26 Schwifty 阅读(188) 评论(0) 推荐(0)
摘要: Given the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid has. For each kid check if th 阅读全文
posted @ 2020-06-18 11:59 Schwifty 阅读(222) 评论(0) 推荐(0)
摘要: Given an array of integers arr and an integer k. Find the least number of unique integers after removing exactly k elements. Example 1: Input: arr = [ 阅读全文
posted @ 2020-06-18 11:46 Schwifty 阅读(232) 评论(0) 推荐(0)
摘要: Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = 阅读全文
posted @ 2020-06-18 09:14 Schwifty 阅读(133) 评论(0) 推荐(0)
摘要: Implement the class SubrectangleQueries which receives a rows x cols rectangle as a matrix of integers in the constructor and supports two methods: 1. 阅读全文
posted @ 2020-06-18 07:38 Schwifty 阅读(107) 评论(0) 推荐(0)
摘要: Given the array prices where prices[i] is the price of the ith item in a shop. There is a special discount for items in the shop, if you buy the ith i 阅读全文
posted @ 2020-06-17 09:36 Schwifty 阅读(152) 评论(0) 推荐(0)
摘要: Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nums. Example 1: Input: nu 阅读全文
posted @ 2020-06-17 04:46 Schwifty 阅读(181) 评论(0) 推荐(0)
摘要: Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node's value equals the given value. Retu 阅读全文
posted @ 2020-06-15 23:06 Schwifty 阅读(204) 评论(0) 推荐(0)
摘要: HTML entity parser is the parser that takes HTML code as input and replace all the entities of the special characters by the characters itself. The sp 阅读全文
posted @ 2020-06-12 07:36 Schwifty 阅读(121) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 76 下一页