3356. Zero Array Transformation II

3356. Zero Array Transformation IIDifficulty: MediumTopics: Array, Binary Search, Prefix SumYou are given an integer array nums of length n and a 2D array queries where queries[i] = [li, ri, vali].Eac...
0 Read More

2560. House Robber IV

2560. House Robber IVDifficulty: MediumTopics: Array, Binary SearchThere are several consecutive houses along a street, each of which has some money inside. There is also a robber, who wants to steal ...
0 Read More

Fibonacci Heaps

Fibonacci Heaps
This post explores one of computer science's most beautiful data structures—the Fibonacci Heap.The Fibonacci Heap is a specialized priority queue data structure consisting of a collection of heap-or...
0 Read More

2594. Minimum Time to Repair Cars

2594. Minimum Time to Repair CarsDifficulty: MediumTopics: Array, Binary SearchYou are given an integer array ranks representing the ranks of some mechanics. ranksi is the rank of the ith mechanic. A ...
0 Read More