Priority Queue

Merge k Sorted Linked Lists

Given k sorted linked list, merge those list to form a final sorted linked list.

Read

Top k Frequent Words

How to use a Custom Comparator in C++ Priority Queue and Solving Top k Frequent Words

Read