leetcode.com 2026-05-25
🟡1871.jump-game-vii
🏷️ Tags
#string #dynamic_programming #prefix_sum #sliding_window
🟡1871.jump-game-vii
🏷️ Tags
#string #dynamic_programming #prefix_sum #sliding_window
Telegraph
jump-game-vii
You are given a 0-indexed binary string s and two integers minJump and maxJump. In the beginning, you are standing at index 0, which is equal to '0'. You can move from index i to index j if the following conditions are fulfilled:
leetcode.cn 2026-05-30
🔴3161.block-placement-queries
🏷️ Tags
#binary_indexed_tree #segment_tree #array #binary_search
🔴3161.block-placement-queries
🏷️ Tags
#binary_indexed_tree #segment_tree #array #binary_search
Telegraph
block-placement-queries
有一条无限长的数轴,原点在 0 处,沿着 x 轴 正 方向无限延伸。 给你一个二维数组 queries ,它包含两种操作:
leetcode.com 2026-05-30
🔴3161.block-placement-queries
🏷️ Tags
#binary_indexed_tree #segment_tree #array #binary_search
🔴3161.block-placement-queries
🏷️ Tags
#binary_indexed_tree #segment_tree #array #binary_search
Telegraph
block-placement-queries
There exists an infinite number line, with its origin at 0 and extending towards the positive x-axis. You are given a 2D array queries, which contains two types of queries:
leetcode.cn 2026-06-01
🟢2144.minimum-cost-of-buying-candies-with-discount
🏷️ Tags
#greedy #array #sorting
🟢2144.minimum-cost-of-buying-candies-with-discount
🏷️ Tags
#greedy #array #sorting
Telegraph
minimum-cost-of-buying-candies-with-discount
一家商店正在打折销售糖果。每购买 两个 糖果,商店会 免费 送一个糖果。 免费送的糖果唯一的限制是:它的价格需要小于等于购买的两个糖果价格的 较小值 。
leetcode.com 2026-06-01
🟢2144.minimum-cost-of-buying-candies-with-discount
🏷️ Tags
#greedy #array #sorting
🟢2144.minimum-cost-of-buying-candies-with-discount
🏷️ Tags
#greedy #array #sorting
Telegraph
minimum-cost-of-buying-candies-with-discount
A shop is selling candies at a discount. For every two candies sold, the shop gives a third candy for free. The customer can choose any candy to take away for free as long as the cost of the chosen candy is less than or equal to the minimum cost of the two…
leetcode.cn 2026-06-02
🟢3633.earliest-finish-time-for-land-and-water-rides-i
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
🟢3633.earliest-finish-time-for-land-and-water-rides-i
🏷️ Tags
#greedy #array #two_pointers #binary_search #sorting
Telegraph
earliest-finish-time-for-land-and-water-rides-i
给你两种类别的游乐园项目:陆地游乐设施 和 水上游乐设施。