leetcode.cn 2026-06-03
🟡3635.earliest-finish-time-for-land-and-water-rides-ii
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
🟡3635.earliest-finish-time-for-land-and-water-rides-ii
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
Telegraph
earliest-finish-time-for-land-and-water-rides-ii
给你两种类别的游乐园项目:陆地游乐设施 和 水上游乐设施。
leetcode.com 2026-06-03
🟡3635.earliest-finish-time-for-land-and-water-rides-ii
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
🟡3635.earliest-finish-time-for-land-and-water-rides-ii
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
Telegraph
earliest-finish-time-for-land-and-water-rides-ii
You are given two categories of theme park attractions: land rides and water rides.
leetcode.cn 2026-06-08
🟡2161.partition-array-according-to-given-pivot
🏷️ Tags
#array #two_pointers #simulation
🟡2161.partition-array-according-to-given-pivot
🏷️ Tags
#array #two_pointers #simulation
Telegraph
partition-array-according-to-given-pivot
给你一个下标从 0 开始的整数数组 nums 和一个整数 pivot 。请你将 nums 重新排列,使得以下条件均成立:
leetcode.com 2026-06-08
🟡2161.partition-array-according-to-given-pivot
🏷️ Tags
#array #two_pointers #simulation
🟡2161.partition-array-according-to-given-pivot
🏷️ Tags
#array #two_pointers #simulation
Telegraph
partition-array-according-to-given-pivot
You are given a 0-indexed integer array nums and an integer pivot. Rearrange nums such that the following conditions are satisfied:
leetcode.cn 2026-06-14
🟡2130.maximum-twin-sum-of-a-linked-list
🏷️ Tags
#stack #linked_list #two_pointers
🟡2130.maximum-twin-sum-of-a-linked-list
🏷️ Tags
#stack #linked_list #two_pointers
Telegraph
maximum-twin-sum-of-a-linked-list
在一个大小为 n 且 n 为 偶数 的链表中,对于 0 <= i <= (n / 2) - 1 的 i ,第 i 个节点(下标从 0 开始)的孪生节点为第 (n-1-i) 个节点 。
leetcode.com 2026-06-14
🟡2130.maximum-twin-sum-of-a-linked-list
🏷️ Tags
#stack #linked_list #two_pointers
🟡2130.maximum-twin-sum-of-a-linked-list
🏷️ Tags
#stack #linked_list #two_pointers
Telegraph
maximum-twin-sum-of-a-linked-list
In a linked list of size n, where n is even, the ith node (0-indexed) of the linked list is known as the twin of the (n-1-i)th node, if 0 <= i <= (n / 2) - 1.
leetcode.cn 2026-06-15
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
Telegraph
delete-the-middle-node-of-a-linked-list
给你一个链表的头节点 head 。删除 链表的 中间节点 ,并返回修改后的链表的头节点 head 。 长度为 n 链表的中间节点是从头数起第 ⌊n / 2⌋ 个节点(下标从 0 开始),其中 ⌊x⌋ 表示小于或等于 x 的最大整数。
leetcode.com 2026-06-15
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
Telegraph
delete-the-middle-node-of-a-linked-list
You are given the head of a linked list. Delete the middle node, and return the head of the modified linked list. The middle node of a linked list of size n is the ⌊n / 2⌋th node from the start using 0-based indexing, where ⌊x⌋ denotes the largest integer…
leetcode.cn 2026-07-10
🔴3534.path-existence-queries-in-a-graph-ii
🏷️ Tags
#greedy #bit_manipulation #graph #array #two_pointers #binary_search #dynamic_programming #sorting
🔴3534.path-existence-queries-in-a-graph-ii
🏷️ Tags
#greedy #bit_manipulation #graph #array #two_pointers #binary_search #dynamic_programming #sorting
Telegraph
path-existence-queries-in-a-graph-ii
给你一个整数 n,表示图中的节点数量,这些节点按从 0 到 n - 1 编号。 同时给你一个长度为 n 的整数数组 nums,以及一个整数 maxDiff。 如果满足 |nums[i] - nums[j]| <= maxDiff(即 nums[i] 和 nums[j] 的 绝对差 至多为 maxDiff),则节点 i 和节点 j 之间存在一条 无向边 。 此外,给你一个二维整数数组 queries。对于每个 queries[i] = [ui, vi],找到节点 ui 和节点 vi 之间的 最短距离 。如果两节点之间不存在路径,则返回…
leetcode.com 2026-07-10
🔴3534.path-existence-queries-in-a-graph-ii
🏷️ Tags
#greedy #bit_manipulation #graph #array #two_pointers #binary_search #dynamic_programming #sorting
🔴3534.path-existence-queries-in-a-graph-ii
🏷️ Tags
#greedy #bit_manipulation #graph #array #two_pointers #binary_search #dynamic_programming #sorting
Telegraph
path-existence-queries-in-a-graph-ii
You are given an integer n representing the number of nodes in a graph, labeled from 0 to n - 1. You are also given an integer array nums of length n and an integer maxDiff. An undirected edge exists between nodes i and j if the absolute difference between…