An open API service indexing awesome lists of open source software.

https://github.com/tonianev/data-structures

Common data structures implemented in Python
https://github.com/tonianev/data-structures

algorithms data-structures

Last synced: 2 months ago
JSON representation

Common data structures implemented in Python

Awesome Lists containing this project

README

          

# Data Structures in Python

This repository contains implementations of common data structures in Python, along with unit tests for each implementation. The purpose of this project is to provide a reference for those learning about data structures or seeking a quick refresher.

## Implemented Data Structures

- [Linked List](src/linked_list.py)
- [Stack](src/stack.py)
- [Queue](src/queue.py)
- [Doubly Linked List](src/doubly_linked_list.py)
- [Binary Search Tree](src/binary_search_tree.py)
- [Min Heap](src/min_heap.py)
- [Hash Map](src/hash_map.py)
- [Trie](src/trie.py)

## Getting Started

## Prerequisites

- Python 3.6 or later

## Installation

- Clone the repository: git clone https://github.com/yourusername/data-structures-python.git

## Running the Tests

- To run the tests, first install the required packages:
- pip install -r requirements.txt
- Then, execute the tests using pytest.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.