07 2024 档案
摘要:原题链接在这里:https://leetcode.com/problems/pyramid-transition-matrix/description/ 题目: You are stacking blocks to form a pyramid. Each block has a color, wh
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/shortest-path-to-get-all-keys/description/ 题目: You are given an m x n grid grid where: '.' is an empty cell. '#'
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/maximum-candies-you-can-get-from-boxes/description/ 题目: You have n boxes labeled from 0 to n - 1. You are given
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/minimize-malware-spread-ii/description/ 题目: You are given a network of n nodes represented as an n x n adjacency
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/make-array-non-decreasing-or-non-increasing/description/ 题目: You are given a 0-indexed integer array nums. In on
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/number-of-good-leaf-nodes-pairs/description/ 题目: You are given the root of a binary tree and an integer distance
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/valid-arrangement-of-pairs/description/ 题目: You are given a 0-indexed 2D integer array pairs where pairs[i] = [s
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/minimum-cost-to-hire-k-workers/description/ 题目: There are n workers. You are given two integer arrays quality an
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum/description/ 题目: Given an array of integers arr, return true if
阅读全文