Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Omadzze/data-structures-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures & Algorithms Solutions

Welcome to the Data Structures & Algorithms repository! 🎉

This repository contains my solutions to LeetCode problems organized by topic. To date, I've solved over 130 problems covering a wide range of data structures and algorithmic techniques using Python 3.

Directory Structure

data-structures-algorithms/
├── Array/
├── Graph/
├── Heap/
├── Linked List/
├── Prefix Sum/
├── Queue/
├── Sliding Window/
├── Stacks/
├── Tree/
├── Two Pointers/
└── hashset/

Each folder corresponds to a specific topic on LeetCode. Feel free to explore any category or problem of interest.

Prerequisites

  • Python 3.7 or higher
  • No external libraries required

How to Use

  1. Clone the repository

    git clone https://github.com/Omadzze/data-structures-algorithms.git
    cd data-structures-algorithms
  2. Navigate to a topic directory:

    cd Array
  3. Run a solution file:

    python3 two_sum_1.py

Solution Naming Convention

Files follow the pattern:

<problem_name>_<leetcode_id>.py

Example:

two_sum_1.py  # Problem 1: Two Sum

Contributing

Contributions are welcome! If you'd like to add new solutions or improve existing ones:

  1. Fork this repository.
  2. Create a new branch: git checkout -b feature/<topic>/<problem>
  3. Add your solution
  4. Submit a pull request with a clear description.

License

This project is licensed under the MIT License.

Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages