Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stacks and Queues #221

Open
hum-dev opened this issue Oct 14, 2024 · 0 comments
Open

Stacks and Queues #221

hum-dev opened this issue Oct 14, 2024 · 0 comments
Labels
Challenge For Challenges

Comments

@hum-dev
Copy link
Collaborator

hum-dev commented Oct 14, 2024

#Stacks and Queues Challenge

Priority Queue Implementation

Implement a priority queue using a heap.

Examples:

Given a set of tasks with priorities, such as [(task1, 2), (task2, 1), (task3, 3)], 
The priority queue should return tasks in the order of their priorities: task2, task1, task3.

@hum-dev hum-dev added the Challenge For Challenges label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Challenge For Challenges
Projects
None yet
Development

No branches or pull requests

1 participant