GoDS, which means "Go Data Structures", is an implementation of various data structures and algorithms in Go. It provides a wide variety of containers (Sets, Lists, Stacks, Maps, Trees), sets (HashSet, TreeSet, LinkedHashSet), lists (ArrayList, SinglyLinkedList, DoublyLinkedList), stacks (LinkedListStack, ArrayStack), maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), trees (RedBlackTree, AVLTree, BTree, BinaryHeap), comparators, and iterators. Containers are either ordered or unordered. All ordered containers provide stateful iterators and some of them allow enumerable functions. A list is a data structure that stores values and may have repeated values. A list backed by a dynamic array that grows and shrinks implicitly. A list where each element points to the next element in the list. A set is a data structure that can store elements and has no repeated values. A Map is a data structure that maps keys to values.

Features

  • Based on decades of knowledge and experiences of other libraries
  • Avoiding to consume memory by using optimal algorithms and data structures for the given set of problems
  • Well-structured library with minimalistic set of atomic operations from which more complex operations can be crafted
  • Only additions are permitted keeping the library backward compatible
  • Learning by example, used in production, with no external imports
  • It optimizes for speed in most cases within reasonable limits on memory consumption

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

License

BSD License

Follow GoDS

GoDS Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GoDS!

Additional Project Details

Programming Language

Go

Related Categories

Go Algorithms

Registered

2021-06-09