06 2024 档案
摘要:原题链接在这里:https://leetcode.com/problems/plates-between-candles/description/ 题目: There is a long table with a line of plates and candles arranged on top
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/minimum-number-of-keypresses/description/ 题目: You have a keypad with 9 buttons, numbered from 1 to 9, each mappe
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/minimum-adjacent-swaps-to-make-a-valid-array/description/ 题目: You are given a 0-indexed integer array nums. Swap
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/length-of-the-longest-valid-substring/description/ 题目: You are given a string word and an array of strings forbi
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/sum-of-unique-elements/description/ 题目: You are given an integer array nums. The unique elements of an array are
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/optimize-water-distribution-in-a-village/description/ 题目: There are n houses in a village. We want to supply wat
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/longest-word-in-dictionary/description/ 题目: Given an array of strings words representing an English Dictionary,
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/make-two-arrays-equal-by-reversing-subarrays/description/ 题目: You are given two integer arrays of equal length t
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid/description/ 题目: You have a grid of size n x 3 and you want to paint each cell
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/all-elements-in-two-binary-search-trees/description/ 题目: Given two binary search trees root1 and root2, return a
阅读全文