katiaku / katiaku/javascript-algorithms-and-data-structures
Implement the Priority Queue Data Structure
- Lenguaje dominante
- JavaScript
- Estrellas
- 3
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- data
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100