+
Skip to content

Collection is a Go library that aims to implement basic data structures such as List, Queue, Stack, Heap, and more.

License

Notifications You must be signed in to change notification settings

trviph/collection

Repository files navigation

Collection

Go Reference codecov CI

Collection is a Go library that aims to implement basic data structures such as List, Queue, Stack, Heap, and more.

Data Structures

  • Linked list is implemented as a doubly linked list.
  • Stack is implemented by using linked list as the base.
  • Queue is implemented by using linked list as the base.
  • Heap is implemented by using slice as the base.

Caches

  • LRU implemeted cache with LRU eviction policy.
  • MRU implemeted cache with MRU eviction policy.

About

Collection is a Go library that aims to implement basic data structures such as List, Queue, Stack, Heap, and more.

Topics

Resources

License

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载