golang data structure include deque, queue, stack, priority queue
$go get github/JackyXiong/goboxes
import "github/JackyXiong/goboxes"
var deque *goboxes.Deque = goboxes.NewDeque()
- NewDeque
- Append
- AppendLeft
- Pop
- PopLeft
- First
- Last
- Extend
- Count
- Remove
- NewQueue
- Put
- Get
- NewQueue
- Put
- Get
- NewPriorityQueue
- Put
- Get
- Test priority queue