1 2 3 4 5 ··· 26 下一页
摘要: https://leetcode.com/problems/path-sum-iii/ https://leetcode.com/problems/path-sum-iv/ https://leetcode.com/problems/maximum-product-of-three-numbers/ 阅读全文
posted @ 2020-01-05 10:23 Dylan_Java_NYC 阅读(236) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-09-04 04:29 Dylan_Java_NYC 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-minimum-time-to-reach-last-room-i/description/ 题目: There is a dungeon with n x m rooms arranged as a grid. 阅读全文
posted @ 2024-11-13 23:07 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-the-longest-substring-containing-vowels-in-even-counts/description/ 题目: Given the string s, return the size 阅读全文
posted @ 2024-10-08 22:46 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-coins-to-be-added/description/ 题目: You are given a 0-indexed integer array coins, representing 阅读全文
posted @ 2024-08-22 22:44 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/count-nodes-with-the-highest-score/description/ 题目: There is a binary tree rooted at 0 consisting of n nodes. Th 阅读全文
posted @ 2024-08-14 00:29 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-performance-of-a-team/description/ 题目: You are given two integers n and k and two integer arrays speed a 阅读全文
posted @ 2024-08-13 23:43 Dylan_Java_NYC 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/count-all-valid-pickup-and-delivery-options/description/ 题目: Given n orders, each order consists of a pickup and 阅读全文
posted @ 2024-08-13 22:27 Dylan_Java_NYC 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/single-threaded-cpu/description/ 题目: You are given n​​​​​​ tasks labeled from 0 to n - 1 represented by a 2D int 阅读全文
posted @ 2024-08-12 11:30 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/description/ 题目: You are given two strings s1 and s2 of equal le 阅读全文
posted @ 2024-08-12 05:52 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/path-with-minimum-effort/description/ 题目: You are a hiker preparing for an upcoming hike. You are given heights, 阅读全文
posted @ 2024-08-05 23:03 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sort-integers-by-the-power-value/description/ 题目: The power of an integer x is defined as the number of steps ne 阅读全文
posted @ 2024-08-04 12:20 Dylan_Java_NYC 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/shortest-uncommon-substring-in-an-array/description/ 题目: You are given an array arr of size n consisting of non- 阅读全文
posted @ 2024-08-04 04:32 Dylan_Java_NYC 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/simple-bank-system/description/ 题目: You have been tasked with writing a program for a popular bank that will aut 阅读全文
posted @ 2024-08-04 03:35 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/strings-differ-by-one-character/description/ 题目: Given a list of strings dict where all the strings are of the s 阅读全文
posted @ 2024-08-04 02:56 Dylan_Java_NYC 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-vertices-to-reach-all-nodes/description/ 题目: Given a directed acyclic graph, with n vertices n 阅读全文
posted @ 2024-08-04 02:26 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix/description/ 题目: Given a m x n binary matrix mat 阅读全文
posted @ 2024-08-04 01:30 Dylan_Java_NYC 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-ways-to-build-house-of-cards/description/ 题目: You are given an integer n representing the number of pl 阅读全文
posted @ 2024-08-04 00:49 Dylan_Java_NYC 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/robot-bounded-in-circle/description/ 题目: On an infinite plane, a robot initially stands at (0, 0) and faces nort 阅读全文
posted @ 2024-08-03 12:33 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/convert-to-base-2/description/ 题目: Given an integer n, return a binary string representing its representation in 阅读全文
posted @ 2024-08-03 11:52 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimize-rounding-error-to-meet-target/description/ 题目: Given an array of prices [p1,p2...,pn] and a target, rou 阅读全文
posted @ 2024-08-03 04:41 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/pyramid-transition-matrix/description/ 题目: You are stacking blocks to form a pyramid. Each block has a color, wh 阅读全文
posted @ 2024-07-30 13:35 Dylan_Java_NYC 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里: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. '#' 阅读全文
posted @ 2024-07-25 13:20 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里: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 阅读全文
posted @ 2024-07-16 13:43 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimize-malware-spread-ii/description/ 题目: You are given a network of n nodes represented as an n x n adjacency 阅读全文
posted @ 2024-07-16 01:07 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/make-array-non-decreasing-or-non-increasing/description/ 题目: You are given a 0-indexed integer array nums. In on 阅读全文
posted @ 2024-07-15 23:38 Dylan_Java_NYC 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-good-leaf-nodes-pairs/description/ 题目: You are given the root of a binary tree and an integer distance 阅读全文
posted @ 2024-07-15 11:37 Dylan_Java_NYC 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/valid-arrangement-of-pairs/description/ 题目: You are given a 0-indexed 2D integer array pairs where pairs[i] = [s 阅读全文
posted @ 2024-07-02 11:52 Dylan_Java_NYC 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-cost-to-hire-k-workers/description/ 题目: There are n workers. You are given two integer arrays quality an 阅读全文
posted @ 2024-07-02 11:03 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum/description/ 题目: Given an array of integers arr, return true if 阅读全文
posted @ 2024-07-01 12:00 Dylan_Java_NYC 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/plates-between-candles/description/ 题目: There is a long table with a line of plates and candles arranged on top 阅读全文
posted @ 2024-06-18 09:20 Dylan_Java_NYC 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-keypresses/description/ 题目: You have a keypad with 9 buttons, numbered from 1 to 9, each mappe 阅读全文
posted @ 2024-06-17 20:59 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-adjacent-swaps-to-make-a-valid-array/description/ 题目: You are given a 0-indexed integer array nums. Swap 阅读全文
posted @ 2024-06-17 13:49 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/length-of-the-longest-valid-substring/description/ 题目: You are given a string word and an array of strings forbi 阅读全文
posted @ 2024-06-17 13:34 Dylan_Java_NYC 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sum-of-unique-elements/description/ 题目: You are given an integer array nums. The unique elements of an array are 阅读全文
posted @ 2024-06-04 11:54 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/optimize-water-distribution-in-a-village/description/ 题目: There are n houses in a village. We want to supply wat 阅读全文
posted @ 2024-06-03 12:58 Dylan_Java_NYC 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/longest-word-in-dictionary/description/ 题目: Given an array of strings words representing an English Dictionary, 阅读全文
posted @ 2024-06-03 12:50 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/make-two-arrays-equal-by-reversing-subarrays/description/ 题目: You are given two integer arrays of equal length t 阅读全文
posted @ 2024-06-02 23:54 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里: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 阅读全文
posted @ 2024-06-02 23:44 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/all-elements-in-two-binary-search-trees/description/ 题目: Given two binary search trees root1 and root2, return a 阅读全文
posted @ 2024-06-01 13:11 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sort-the-matrix-diagonally/description/ 题目: A matrix diagonal is a diagonal line of cells starting from some cel 阅读全文
posted @ 2024-05-29 10:49 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/description/ 题目: You are given an array of events where events[i] 阅读全文
posted @ 2024-05-18 11:11 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 26 下一页