gods
gods copied to clipboard
GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
File: https://github.com/emirpasic/gods/blob/master/lists/doublylinkedlist/doublylinkedlist.go Details: A null pointer exception will occur. In github.com/emirpasic/gods/lists/doublylinkedlist.List.Insert(int, []interface{}): Dereference of an explicit null (nil) value ([CWE-476](http://cwe.mitre.org/data/definitions/476.html)) Screenshot:
Since Go 1.18 beta is available what do you think about updating the project with generics? Also, is this project still alive?
when circularbuffer Values use in concurrent case, one queue enqueue. the other dequeue per 100ms,and in dequeue get all values to handler. ``` // Values returns all elements in the...
The priorityqueue, how delete random element ?
I implemented a simple version of Trie. Hope this will be useful. #161
looks good but lacking overall storage requirement for each types
Add Trie
I implemented a simple version of the trie data structure and I guess it can be a part of your project. Hope this will be helpful.
https://play.golang.org/p/AIAkjs_TELp If we see above example. linkedhashmap is maintaining the order only on firsl level of keys. It is not maintaining the same for nested keys or maps. Do we...
A pleasure that LinkedHashMap has been added. While I have a different point about the iterative sequence. The sequence should order by the key last time put in instead of...