摘要: 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 阅读全文
posted @ 2020-07-04 16:04 tmortred 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-04 14:31 tmortred 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-04 11:58 tmortred 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-04 10:55 tmortred 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-07-04 10:50 tmortred 阅读(97) 评论(0) 推荐(0) 编辑