- Notifications
You must be signed in to change notification settings - Fork0
ahmedshaban980/solving_leetcode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Welcome to thesolving_leetcode repository! This repository is a personal collection of my LeetCode problem solutions. Here, you will find various algorithms and data structures implemented in Python.
This repository serves as a practical guide for solving LeetCode problems. Each solution is organized by problem number and includes the problem statement, my approach, and the code.
- Organized by problem number for easy navigation.
- Each solution includes comments for clarity.
- Solutions cover a variety of topics, ensuring a broad learning experience.
This repository touches on several key topics in data structures and algorithms:
- Data Structures (DSA): Arrays, Linked Lists, Trees, Graphs, Hash Tables
- Algorithms: Sorting, Searching, Dynamic Programming, Backtracking
- LeetCode Practice: Problems sorted by difficulty (Easy, Medium, Hard)
- Python 3: All solutions are written in Python 3 for compatibility.
To get started with this repository, you need to clone it to your local machine. Use the following command:
git clone https://github.com/ahmedshaban980/solving_leetcode.git
Once cloned, navigate to the repository folder:
cd solving_leetcode
Make sure you have Python 3 installed on your machine. You can download it from theofficial Python website.
- Navigate to the folder of the specific problem you want to work on.
- Open the corresponding Python file.
- Read the problem statement and my solution approach.
- Run the solution using the following command:
python3 problem_number.py
For example, if you want to solve Problem 1, you would run:
python3 1_two_sum.py
This will execute the solution for that problem.
Contributions are welcome! If you have a solution to a problem not covered here, feel free to fork the repository and submit a pull request.
- Fork the repository.
- Create a new branch for your feature or fix.
- Make your changes.
- Commit your changes with a clear message.
- Push to your branch.
- Submit a pull request.
This repository is licensed under the MIT License. Feel free to use the code as you wish, but please give credit where it's due.
For the latest updates and releases, visit theReleases section. Here, you can download files and execute them on your local machine.
- Version 1.0: Initial release with basic problem solutions.
- Version 1.1: Added advanced data structure problems.
- Version 1.2: Improved code efficiency and added comments.
For any questions or suggestions, please reach out via my GitHub profile or open an issue in this repository.
Thank you for visiting my repository! Happy coding!
About
Explore my Python solutions for LeetCode challenges. Improve your coding skills and problem-solving abilities. Join me on this journey! 🌟🐍
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Contributors2
Uh oh!
There was an error while loading.Please reload this page.