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
99.99% Uptime for Your Most Critical Databases Icon
99.99% Uptime for Your Most Critical Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
Try Free
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