https://github.com/seeadoog/priority_queue
implimetion of priority_queue for go, blocking
https://github.com/seeadoog/priority_queue
Last synced: 2 months ago
JSON representation
implimetion of priority_queue for go, blocking
- Host: GitHub
- URL: https://github.com/seeadoog/priority_queue
- Owner: seeadoog
- Created: 2019-01-24T12:48:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T01:48:29.000Z (almost 6 years ago)
- Last Synced: 2025-01-28T22:26:49.252Z (4 months ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### introduce
Priority Queue that implements by golang based on heap sort.
Queue interface has two implements:
```
type Queue interface {
Add(data interface{})
Remove() interface{}
Top() interface{}
Size() int
}```
implement|goroutine secure|blocked
---|---|---
PriorityQueue|No|No
BlockingPriorityQueue|Yes|Yes