A Python library for data structures. This library provides more than 20 advanced data structures not available in the Python standard library.
pip install pystrukts
- Singly Linked Node
- Singly Linked List
- Doubly Linked Node
- Doubly Linked List
- Circular Linked List (Single, Double)
- Skip List
- Binary Tree
- Generic Tree
- Binary Search Tree
- Ternary Search Tree
- Suffix Tree
- AVL Tree
- Red-Black Tree
- Splay Tree
- B-Tree
- B+ Tree
- R-Tree
- Interval Tree
- Segment Tree
- Fenwick Tree
- Trie
- Adjacency Matrix
- Adjacency List
- Disjoint Set (Union Find)
- Max Heap