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
- Host: GitHub
- URL: https://github.com/tonianev/data-structures
- Owner: tonianev
- License: other
- Created: 2021-03-03T04:48:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T19:51:12.000Z (over 1 year ago)
- Last Synced: 2024-07-25T22:46:09.729Z (over 1 year ago)
- Topics: algorithms, data-structures
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.