上一页 1 2 3 4 5 6 ··· 26 下一页
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-sum-circular-subarray/description/ 题目: Given a circular integer array nums of length n, return the maxim 阅读全文
posted @ 2024-05-17 10:40 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/merge-in-between-linked-lists/description/ 题目: You are given two linked lists: list1 and list2 of sizes n and m  阅读全文
posted @ 2024-05-16 11:45 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-even-and-odd-bits/description/ 题目: You are given a positive integer n. Let even denote the number of e 阅读全文
posted @ 2024-05-16 11:14 Dylan_Java_NYC 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-all-groups-of-farmland/description/ 题目: You are given a 0-indexed m x n binary matrix land where a 0 repres 阅读全文
posted @ 2024-05-15 12:15 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-common-elements-between-two-arrays/description/ 题目: You are given two 0-indexed integer arrays nums1 and nu 阅读全文
posted @ 2024-05-14 09:12 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-wonderful-substrings/description/ 题目: A wonderful string is a string where at most one letter appears 阅读全文
posted @ 2024-05-14 08:57 Dylan_Java_NYC 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array/description/ 题目: Given an integer array sorted in non-decreasing 阅读全文
posted @ 2024-05-13 09:06 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-number-of-intersections-on-the-chart/description/ 题目: There is a line chart consisting of n points conne 阅读全文
posted @ 2024-05-13 08:57 Dylan_Java_NYC 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/mice-and-cheese/description/ 题目: There are two mice and n different types of cheese, each type of cheese should 阅读全文
posted @ 2024-05-13 07:03 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-subarray-sum-with-one-deletion/description/ 题目: Given an array of integers, return the maximum sum for a 阅读全文
posted @ 2024-05-09 12:37 Dylan_Java_NYC 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/count-hills-and-valleys-in-an-array/description/ 题目: You are given a 0-indexed integer array nums. An index i is 阅读全文
posted @ 2024-05-09 11:08 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/check-if-an-original-string-exists-given-two-encoded-strings/description/ 题目: An original string, consisting of 阅读全文
posted @ 2024-05-07 12:33 Dylan_Java_NYC 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/the-number-of-beautiful-subsets/description/ 题目: You are given an array nums of positive integers and a positive 阅读全文
posted @ 2024-05-06 11:15 Dylan_Java_NYC 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-sum-bst-in-binary-tree/description/ 题目: Given a binary tree root, return the maximum sum of all keys of  阅读全文
posted @ 2024-05-05 23:23 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/jump-game-v/description/ 题目: Given an array of integers arr and an integer d. In one step you can jump from inde 阅读全文
posted @ 2024-04-22 00:59 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/rank-transform-of-an-array/description/ 题目: Given an array of integers arr, replace each element with its rank. 阅读全文
posted @ 2024-04-21 22:48 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/spiral-matrix-iv/description/ 题目: You are given two integers m and n, which represent the dimensions of a matrix 阅读全文
posted @ 2024-04-21 10:43 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/diagonal-traverse-ii/description/ 题目: Given a 2D integer array nums, return all elements of nums in diagonal ord 阅读全文
posted @ 2024-04-21 10:04 Dylan_Java_NYC 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent/description/ 题目: Given the root of a binary tree, return the sum of va 阅读全文
posted @ 2024-04-17 12:45 Dylan_Java_NYC 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-time-to-collect-all-apples-in-a-tree/description/ 题目: Given an undirected tree consisting of n vertices 阅读全文
posted @ 2024-04-15 10:29 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-visible-people-in-a-queue/description/ 题目: There are n people standing in a queue, and they numbered f 阅读全文
posted @ 2024-04-09 11:39 Dylan_Java_NYC 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/split-message-based-on-limit/description/ 题目: You are given a string, message, and a positive integer, limit. Yo 阅读全文
posted @ 2024-04-07 11:36 Dylan_Java_NYC 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows/description/ 题目: You are given an m x n matrix mat that h 阅读全文
posted @ 2024-04-07 10:21 Dylan_Java_NYC 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/description/ 题目: You are given an integer array bloomDay, an integer m 阅读全文
posted @ 2024-04-07 00:01 Dylan_Java_NYC 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/cutting-ribbons/description/ 题目: You are given an integer array ribbons, where ribbons[i] represents the length 阅读全文
posted @ 2024-04-06 23:32 Dylan_Java_NYC 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/kth-missing-positive-number/description/ 题目: Given an array arr of positive integers sorted in a strictly increa 阅读全文
posted @ 2024-04-05 10:33 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k/description/ 题目: You are given an integer array nums and an inte 阅读全文
posted @ 2024-04-03 11:32 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-substrings-containing-all-three-characters/description/ 题目: Given a string s consisting only of charac 阅读全文
posted @ 2024-04-03 11:01 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sort-array-by-parity/description/ 题目: Given an integer array nums, move all the even integers at the beginning o 阅读全文
posted @ 2024-04-01 10:57 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/adding-spaces-to-a-string/description/ 题目: You are given a 0-indexed string s and a 0-indexed integer array spac 阅读全文
posted @ 2024-04-01 10:45 Dylan_Java_NYC 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/product-of-two-run-length-encoded-arrays/description/ 题目: Run-length encoding is a compression algorithm that al 阅读全文
posted @ 2024-03-31 00:46 Dylan_Java_NYC 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/making-a-large-island/description/ 题目: You are given an n x n binary matrix grid. You are allowed to change at m 阅读全文
posted @ 2024-03-25 03:32 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/shortest-path-in-a-hidden-grid/description/ 题目: This is an interactive problem. There is a robot in a hidden gri 阅读全文
posted @ 2024-03-24 09:55 Dylan_Java_NYC 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sum-of-distances-in-tree/description/ 题目: There is an undirected connected tree with n nodes labeled from 0 to n 阅读全文
posted @ 2024-03-23 23:18 Dylan_Java_NYC 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/count-nodes-equal-to-average-of-subtree/description/ 题目: Given the root of a binary tree, return the number of n 阅读全文
posted @ 2024-03-21 11:22 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/description/ 题目: Given the root of a binary tree, the level of its root is 1, 阅读全文
posted @ 2024-03-20 10:35 Dylan_Java_NYC 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/recover-a-tree-from-preorder-traversal/description/ 题目: We run a preorder depth-first search (DFS) on the root o 阅读全文
posted @ 2024-03-20 10:08 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/print-immutable-linked-list-in-reverse/description/题目: You are given an immutable linked list, print out all val 阅读全文
posted @ 2024-03-18 05:35 Dylan_Java_NYC 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/design-skiplist/description/ 题目: Design a Skiplist without using any built-in libraries. A skiplist is a data st 阅读全文
posted @ 2024-03-18 02:42 Dylan_Java_NYC 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/dot-product-of-two-sparse-vectors/description/ 题目: Given two sparse vectors, compute their dot product. Implemen 阅读全文
posted @ 2024-03-03 03:48 Dylan_Java_NYC 阅读(65) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 26 下一页