dsalib is a Python library designed to provide a comprehensive collection of fundamental and advanced data structures. It aims to make it easy to work with common data structures and solve algorithmic problems.
- Data Structures:
- Arrays
- Linked Lists
- Stacks
- Queues
- Trees (Binary Trees, Binary Search Trees, AVL Trees, Red-Black Trees)
- Graphs (Directed and Undirected)
- Heaps (Min-Heap, Max-Heap)
- Tries
- Hash Tables
- Disjoint Sets
To install the dsalib library, you can use pip. First, clone the repository and then install it:
git clone https://github.com/yourusername/dsalib.git
cd dsalib
pip install .