katiaku / katiaku/javascript-algorithms-and-data-structures

Implement the Priority Queue Data Structure

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The project currently lacks implementations of the Priority Queue data structure.

- Create PriorityQueue.js file in the project directory.

- Describe the Priority Queue data structure.

- Implement the Priority Queue data structure in JavaScript including methods like enqueue, dequeue, and peek. Implement both max-priority and min-priority queues.

- Include an example demonstrating task scheduling or Dijkstra’s algorithm integration.

- Add the data structure to the "JavaScript Data Structures" section in the README.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.