brass-knuckles provides many efficient and well-tested data structures:
From the basics:
StackQueueLinkedListOrderedLinkedListDoublyLinkedList
Search trees (The trees follow the 'leaf tree' model; all data is stored in the leaf nodes of the tree):
LeafTree(which defines the base class on which most of the trees are based)MultiLeafTree(which is a subclass ofLeafTreethat defines the base class for trees that allow duplicate value insertions for a single key)
Balanced search trees (with O(logN) performance on insertion, search and deletion):
WeightBalancedLeafTreeHeightBalancedLeafTreeABTree(a type of BTree)RBTree(a red black tree)LevelLinkedTreeSplayTreeSkipList
Balanced search trees that allow duplicate value insertion:
WeightBalancedMultiLeafTreeHeightBalancedMultiLeafTree
Interval Trees
IntervalTreeSegmentTreeorTree(Orthogonal Range Tree)hdSegmentTree(Higher-Dimensional Segment Tree)kdTree
HeapHeapOrderedTreehalfOrderedTreeLeftistHeapSkewHeapBinomialHeapFibonacciHeapDoubleEndedHeapMultidimensionalHeap
String Structures:
TrieDictionarySuffixTreeSuffixArray
HashTableHashTreeBloomFilter
brass-knuckles is MIT-licensed.
Peter Brass for his excellent book on data structures