Topic: Queue Problem / Level: advanced

Problem: Implement a priority queue that supports both increasing and decreasing priorities for tasks.

Run the code to see the output here...