Tag: a-heap
All the articles with the tag "a-heap".
-
LeetCode 1696 Jump Game VI
Solutions for LeetCode 1696, medium, tags: array, dynamic programming, sliding window, monotonic queue, heap.
-
LeetCode 2530 Maximal Score After Applying K Operations
Solution for LeetCode 2530, medium, tags: array, greedy, heap (priority queue).
-
LeetCode 3066 Minimum Operations to Exceed Threshold Value II
A min-heap simulation that repeatedly combines the two smallest values, with overflow-safe implementations in four languages.
-
LeetCode 451 Sort Characters By Frequency
Solutions for LeetCode 451, medium, tags: hash table, string, sorting, heap, bucket sort.
-
LeetCode 692 Top K Frequent Words
Solutions for LeetCode 692, medium, tags: hash table, string, trie, sorting, heap, bucket sort, counting.
-
LeetCode 1046 Last Stone Weight
Solutions for LeetCode 1046, easy, tags: array, heap, simulation.