07 2022 档案
摘要:原题链接在这里: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
阅读全文
摘要:原题链接在这里: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
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/substring-with-largest-variance/ 题目: The variance of a string is defined as the largest difference between the n
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string/ 题目: Let's define a function countUniqueChars(s) tha
阅读全文
摘要:原题链接在这里: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
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/design-in-memory-file-system/ 题目: Design a data structure that simulates an in-memory file system. Implement the
阅读全文
摘要:原题链接在这里: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
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/restore-the-array-from-adjacent-pairs/ 题目: There is an integer array nums that consists of n unique elements, bu
阅读全文
摘要:原题链接在这里: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
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/web-crawler-multithreaded/ 题目: Given a URL startUrl and an interface HtmlParser, implement a Multi-threaded web
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/maximum-profit-in-job-scheduling/ 题目: We have n jobs, where every job is scheduled to be done from startTime[i]
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/jump-game-iv/ 题目: Given an array of integers arr, you are initially positioned at the first index of the array.
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/jump-game-iii/ 题目: Given an array of non-negative integers arr, you are initially positioned at start index of t
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/maximum-difference-between-increasing-elements/ 题目: Given a 0-indexed integer array nums of size n, find the max
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/rearrange-array-elements-by-sign/ 题目: You are given a 0-indexed integer array nums of even length consisting of
阅读全文