https://github.com/dankolesnikov/maxheappriorityqueue
Java implementation of Max Heap Priority Queue
https://github.com/dankolesnikov/maxheappriorityqueue
heap java max-heap max-heap-priority-queue priority-queue
Last synced: 2 months ago
JSON representation
Java implementation of Max Heap Priority Queue
- Host: GitHub
- URL: https://github.com/dankolesnikov/maxheappriorityqueue
- Owner: dankolesnikov
- Created: 2017-10-22T03:31:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-22T07:51:45.000Z (over 7 years ago)
- Last Synced: 2025-01-31T10:34:04.886Z (4 months ago)
- Topics: heap, java, max-heap, max-heap-priority-queue, priority-queue
- Language: Java
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Max Heap Priority Queue
> Java implementation of Max Heap Priority Queue.
# Description
This is an array representation of priority queue abstract data type using heap data structure. Keep in mind, my implementation starts at index 1 and ignores index 0 of the array. The program Waiting room mimics an emergency hospital room where patients are prioritized based on the priority number assigned by the user.Feel free to reach out to me if you have any questions or spot a mistake in the code!
## Usage
Terminal:
Open the folder containing jars and run:
```sh
java -jar WaitingRoom.jar
```
or
```sh
java -jar MaxHeapPriorityQueue.jar
```
## MetaDanil Kolesnikov – [email protected]
Distributed under the MIT license.