Skip to content

Library of generic queue data structures for Go.

License

Notifications You must be signed in to change notification settings

golang-ds/queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

queue

Library of generic queue data structures for Go.

Install

$ go get github.com/golang-ds/queue

Linked Queue

Import

import queue "github.com/golang-ds/queue/linkedqueue"

Use

q := queue.New[int]()
q.Enqueue(1)

Slice Queue

Import

import queue "github.com/golang-ds/queue/slicequeue"

Use

q := queue.New[int]()
q.Enqueue(1)

Circular Queue

Import

import queue "github.com/golang-ds/queue/circularqueue"

Use

q := queue.New[int]()
q.Enqueue(1)

About

Library of generic queue data structures for Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages