上一页 1 2 3 4 5 6 7 8 ··· 26 下一页
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-units-on-a-truck/ 题目: You are assigned to put some amount of boxes onto one truck. You are given a 2D ar 阅读全文
posted @ 2022-08-12 08:15 Dylan_Java_NYC 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-length-of-subarray-with-positive-product/ 题目: Given an array of integers nums, find the maximum length o 阅读全文
posted @ 2022-08-12 07:58 Dylan_Java_NYC 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/longest-duplicate-substring/ 题目: Given a string s, consider all duplicated substrings: (contiguous) substrings o 阅读全文
posted @ 2022-08-08 06:01 Dylan_Java_NYC 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/finding-3-digit-even-numbers/ 题目: You are given an integer array digits, where each element is a digit. The arra 阅读全文
posted @ 2022-08-08 02:22 Dylan_Java_NYC 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/smallest-rotation-with-highest-score/ 题目: You are given an array nums. You can rotate it by a non-negative integ 阅读全文
posted @ 2022-08-07 14:46 Dylan_Java_NYC 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-frequency-stack/ 题目: Design a stack-like data structure to push elements to the stack and pop the most f 阅读全文
posted @ 2022-08-07 13:38 Dylan_Java_NYC 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/frequency-of-the-most-frequent-element/ 题目: The frequency of an element is the number of times it occurs in an a 阅读全文
posted @ 2022-08-05 06:24 Dylan_Java_NYC 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/construct-k-palindrome-strings/ 题目: Given a string s and an integer k, return true if you can use all the charac 阅读全文
posted @ 2022-08-04 14:39 Dylan_Java_NYC 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-of-minimum-values-in-all-subarrays/ 题目: You are given an integer array nums of size n. You are asked to 阅读全文
posted @ 2022-08-04 14:34 Dylan_Java_NYC 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-time-to-complete-trips/ 题目: You are given an array time where time[i] denotes the time taken by the ith  阅读全文
posted @ 2022-08-04 09:50 Dylan_Java_NYC 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/ 题目: Given an array of integers nums  阅读全文
posted @ 2022-08-04 09:12 Dylan_Java_NYC 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/optimal-account-balancing/ 题目: You are given an array of transactions transactions where transactions[i] = [from 阅读全文
posted @ 2022-08-03 15:26 Dylan_Java_NYC 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/next-palindrome-using-same-digits/ 题目: ou are given a numeric string num, representing a very large palindrome. 阅读全文
posted @ 2022-08-03 14:27 Dylan_Java_NYC 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/construct-quad-tree/ 题目: Given a n * n matrix grid of 0's and 1's only. We want to represent the grid with a Qua 阅读全文
posted @ 2022-07-31 14:46 Dylan_Java_NYC 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/bus-routes/ 题目: You are given an array routes representing bus routes where routes[i] is a bus route that the it 阅读全文
posted @ 2022-07-31 09:41 Dylan_Java_NYC 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/substring-with-largest-variance/ 题目: The variance of a string is defined as the largest difference between the n 阅读全文
posted @ 2022-07-30 15:06 Dylan_Java_NYC 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string/ 题目: Let's define a function countUniqueChars(s) tha 阅读全文
posted @ 2022-07-26 05:46 Dylan_Java_NYC 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/total-appeal-of-a-string/ 题目: The appeal of a string is the number of distinct characters found in the string. F 阅读全文
posted @ 2022-07-25 08:59 Dylan_Java_NYC 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/design-in-memory-file-system/ 题目: Design a data structure that simulates an in-memory file system. Implement the 阅读全文
posted @ 2022-07-24 12:36 Dylan_Java_NYC 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/rotating-the-box/ 题目: You are given an m x n matrix of characters box representing a side-view of a box. Each ce 阅读全文
posted @ 2022-07-19 12:47 Dylan_Java_NYC 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/restore-the-array-from-adjacent-pairs/ 题目: There is an integer array nums that consists of n unique elements, bu 阅读全文
posted @ 2022-07-19 12:21 Dylan_Java_NYC 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-increment-to-make-array-unique/ 题目: You are given an integer array nums. In one move, you can pick an in 阅读全文
posted @ 2022-07-19 07:59 Dylan_Java_NYC 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/web-crawler-multithreaded/ 题目: Given a URL startUrl and an interface HtmlParser, implement a Multi-threaded web 阅读全文
posted @ 2022-07-19 07:23 Dylan_Java_NYC 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-profit-in-job-scheduling/ 题目: We have n jobs, where every job is scheduled to be done from startTime[i]  阅读全文
posted @ 2022-07-19 02:24 Dylan_Java_NYC 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/jump-game-iv/ 题目: Given an array of integers arr, you are initially positioned at the first index of the array. 阅读全文
posted @ 2022-07-03 08:16 Dylan_Java_NYC 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/jump-game-iii/ 题目: Given an array of non-negative integers arr, you are initially positioned at start index of t 阅读全文
posted @ 2022-07-03 07:52 Dylan_Java_NYC 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-difference-between-increasing-elements/ 题目: Given a 0-indexed integer array nums of size n, find the max 阅读全文
posted @ 2022-07-02 13:16 Dylan_Java_NYC 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/rearrange-array-elements-by-sign/ 题目: You are given a 0-indexed integer array nums of even length consisting of 阅读全文
posted @ 2022-07-02 11:56 Dylan_Java_NYC 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/search-in-a-binary-search-tree/ 题目: You are given the root of a binary search tree (BST) and an integer val. Fin 阅读全文
posted @ 2022-06-28 14:02 Dylan_Java_NYC 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/n-ary-tree-postorder-traversal/ 题目: Given the root of an n-ary tree, return the postorder traversal of its nodes 阅读全文
posted @ 2022-06-27 05:42 Dylan_Java_NYC 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/n-ary-tree-preorder-traversal/ 题目: Given the root of an n-ary tree, return the preorder traversal of its nodes' 阅读全文
posted @ 2022-06-27 05:24 Dylan_Java_NYC 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sort-array-by-increasing-frequency/ 题目: Given an array of integers nums, sort the array in increasing order base 阅读全文
posted @ 2022-06-26 15:21 Dylan_Java_NYC 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-average-subtree/ 题目: Given the root of a binary tree, return the maximum average value of a subtree of t 阅读全文
posted @ 2022-06-24 16:08 Dylan_Java_NYC 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/unique-number-of-occurrences/ 题目: Given an array of integers arr, return true if the number of occurrences of ea 阅读全文
posted @ 2022-06-24 14:46 Dylan_Java_NYC 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/steps-to-make-array-non-decreasing/ 题目: You are given a 0-indexed integer array nums. In one step, remove all el 阅读全文
posted @ 2022-06-24 13:45 Dylan_Java_NYC 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/matrix-block-sum/ 题目: Given a m x n matrix mat and an integer k, return a matrix answer where each answer[i][j]  阅读全文
posted @ 2022-06-23 12:14 Dylan_Java_NYC 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/russian-doll-envelopes/ 题目: You are given a 2D array of integers envelopes where envelopes[i] = [wi, hi] represe 阅读全文
posted @ 2022-06-21 14:21 Dylan_Java_NYC 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sum-of-subarray-ranges/ 题目: You are given an integer array nums. The range of a subarray of nums is the differen 阅读全文
posted @ 2022-06-20 05:44 Dylan_Java_NYC 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sum-of-subarray-minimums/ 题目: Given an array of integers arr, find the sum of min(b), where b ranges over every 阅读全文
posted @ 2022-06-20 05:30 Dylan_Java_NYC 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/online-stock-span/ 题目: Design an algorithm that collects daily price quotes for some stock and returns the span  阅读全文
posted @ 2022-06-19 11:44 Dylan_Java_NYC 阅读(52) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 26 下一页