07 2020 档案
摘要:Description Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between
阅读全文
摘要:Descrption Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive. Range sum S(i, j) is defined as the sum
阅读全文
摘要:Description Given an array nums, we call (i, j) an important reverse pair if i < j and nums[i] > 2*nums[j]. You need to return the number of important
阅读全文
摘要:Description You have k lists of sorted integers in ascending order. Find the smallest range that includes at least one number from each of the k lists
阅读全文
摘要:Description You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s tha
阅读全文
摘要:Description Given an array of integers A, find the number of triples of indices (i, j, k) such that: 0 <= i < A.length 0 <= j < A.length 0 <= k < A.le
阅读全文
摘要:Description You want to schedule a list of jobs in d days. Jobs are dependent (i.e To work on the i-th job, you have to finish all the jobs j where 0
阅读全文
摘要:Description Given an array of integers cost and an integer target. Return the maximum integer you can paint under the following rules: The cost of pai
阅读全文
摘要:Description Given a string S and a string T, count the number of distinct subsequences of S which equals T. A subsequence of a string is a new string
阅读全文
摘要:Description There are G people in a gang, and a list of various crimes they could commit. The i-th crime generates a profit[i] and requires group[i] g
阅读全文
摘要:Description In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we
阅读全文
摘要:Description Your car starts at position 0 and speed +1 on an infinite number line. (Your car can go into negative positions.) Your car drives automati
阅读全文

浙公网安备 33010602011771号