katiaku / katiaku/javascript-algorithms-and-data-structures
Implement the Priority Queue Data Structure
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by reviewing the project structure and the existing JavaScript Data Structures section in README. Create PriorityQueue.js with enqueue, dequeue, and peek for both max-priority and min-priority queues, add a task-scheduling or Dijkstra’s algorithm example, and document the structure in README.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100