m-cherni / data-structures-algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This repository contains solutions to various data structure problems. These solutions are implemented in python and java. My goal was to design the most efficient and optimized solution to common data structure problems.

All the code in this repository was developed during my ramp-up journey to be a better programer. Contributions to this repository are more than welcome! If you have additional solutions or any feedback to/about existing problems and solutions.

About

The purpose of this repository is to provide a collection of a well documented and tested solutions to common data structure and algortihm problems. Each problem is categoried and organized in a way that make it easy to navigate and understand.

Languages

All solutions and tests are developed in:

  • Python version 3 or above
  • Java version 8 or above

Folder structure

The code in this repository is organized as follow:

├── data-structures
│   ├── array
│   │   ├── problem1
│   │   |   ├── python
|   |   |   |   ├── solution1.py
|   |   |   |   ├── test_solution1.py
|   |   |   ├── java
|   |   |   |   ├── src
|   |   |   |   ├── tests
|   |   |   |   └──...
│   │   └── ...
│   └── ...
│   ├── linkedlist
│   │   ├── problem1
│   │   |   ├── python
|   |   |   |   ├── solution1.py
|   |   |   |   ├── test_solution1.py
|   |   |   ├── java
|   |   |   |   ├── src
|   |   |   |   ├── tests
|   |   |   |   └── ...
│   │   └── ...
│   └── ...
├── algorithms
│   ├── problem1
│   │   |   ├── python
|   |   |   |   ├── solution1.py
|   |   |   |   ├── test_solution1.py
|   |   |   ├── java
|   |   |   |   ├── src
|   |   |   |   ├── tests
|   |   |   |   └──...
│   │   └── ...
│   └── ...
│   ├── problem1
│   │   |   ├── python
|   |   |   |   ├── solution1.py
|   |   |   |   ├── test_solution1.py
|   |   |   ├── java
|   |   |   |   ├── src
|   |   |   |   ├── tests
|   |   |   |   └──...
│   │   └── ...
│   └── ...
└── ...

License

This repository is licensed under the MIT License. You are free to use the code, contribute to it, and distribute modified versions as per the terms of the license.

Please note that while the solutions in this repository aim to provide efficient and optimized solutions, they may not cover every edge case or be the most optimal solution in all scenarios. Use them as a reference and learning resource, and always strive to understand and implement your own solutions.

Happy coding :-)

About


Languages

Language:Java 51.5%Language:Python 48.5%