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

Python: The Nim game

Python: The Nim game
Today we are going to look at a small algorithm exercise in python, through the game called the nim game. The rule This is a two-player game. We have n matches to start with (for example 10). ...
0 Read More

2206. Divide Array Into Equal Pairs

2206. Divide Array Into Equal PairsDifficulty: EasyTopics: Array, Hash Table, Bit Manipulation, CountingYou are given an integer array nums consisting of 2 * n integers.You need to divide nums into n ...
0 Read More