https://leetcode.com/problems/minimum-cost-to-hire-k-workers/description/
Min cost of
Min cost of
k
workers each doing quality[i]
work for fair rate #hard #heap #sorting👍2
https://leetcode.com/problems/find-the-safest-path-in-a-grid/description/
Safest path in a grid with thiefs #medium #bfs #heap
Safest path in a grid with thiefs #medium #bfs #heap
👍1
https://leetcode.com/problems/hand-of-straights/description/
Can array be split into consecutive groups #medium #heap #treemap
Can array be split into consecutive groups #medium #heap #treemap
👍2🔥1
https://leetcode.com/problems/ipo/description/
Max capital by choosing
Max capital by choosing
k
jobs with profits[] & capital[]
given w
on start #hard #heap👍2
https://leetcode.com/problems/range-sum-of-sorted-subarray-sums/description/
Sum of
Sum of
[left..right]
of sorted subarray sums #medium #heap👍3
https://leetcode.com/problems/kth-largest-element-in-a-stream/description/
`k`th largest in a stream of values #easy #heap
`k`th largest in a stream of values #easy #heap
👍2
https://leetcode.com/problems/ugly-number-ii/description/
`n`th number with only [1,2,3,5] multipliers #medium #heap
`n`th number with only [1,2,3,5] multipliers #medium #heap
👍3
https://leetcode.com/problems/the-number-of-the-smallest-unoccupied-chair/description/
target's
chair number when chairs reused by multiple [arrival, leave]
times #medium #sorting #heap👍3
https://leetcode.com/problems/divide-intervals-into-minimum-number-of-groups/description/
Count non-intersecting groups of intervals #medium #heap #sorting
Count non-intersecting groups of intervals #medium #heap #sorting
👍3
https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists/description/
Smallest intersection of
Smallest intersection of
k
sorted lists #medium #heap #tree_set👍3❤1
https://leetcode.com/problems/maximal-score-after-applying-k-operations/description/
Replace
Replace
max(arr)
with ceil(max/3)
k
times #medium #heap👍3
https://leetcode.com/problems/kth-largest-sum-in-a-binary-tree/description/
`k`th largest level-sum in a tree #bfs #heap #quickselect
`k`th largest level-sum in a tree #bfs #heap #quickselect
👍4
https://leetcode.com/problems/minimized-maximum-of-products-distributed-to-any-store/description/
Min of max of
Min of max of
quantities
spread by n
single-type stores #medium #binary_search #heap👍2
https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k/description/
Min subarray with sum at least
Min subarray with sum at least
k
#hard #monotonic_queue #heap👍3
https://leetcode.com/problems/maximum-average-pass-ratio/description/
Arrange
Arrange
passed
students to improve average score #medium #heap👍2
https://leetcode.com/problems/minimum-operations-to-exceed-threshold-value-ii/description/
Count nums += min(x,y)*2+max(x,y) < k #medium #heap
Count nums += min(x,y)*2+max(x,y) < k #medium #heap
👍1🔥1
Min rank[i] * count^2 to fix all cars #medium #binary_search #heap
https://leetcode.com/problems/minimum-time-to-repair-cars/description
https://leetcode.com/problems/minimum-time-to-repair-cars/description
👍3
Running queries of increasing BFS #hard #bfs #heap
https://leetcode.com/problems/maximum-number-of-points-from-grid-queries/description/
https://leetcode.com/problems/maximum-number-of-points-from-grid-queries/description/
👍1
https://leetcode.com/problems/zero-array-transformation-iii/description
Max removed queries still zero-fy an array #medium #heap
Max removed queries still zero-fy an array #medium #heap
👍2
# 7.07.2025
[1353. Maximum Number of Events That Can Be Attended](https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/description/) medium
Max attended events #medium #heap
[1353. Maximum Number of Events That Can Be Attended](https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/description/) medium
Max attended events #medium #heap
👍1