Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Explore my Python solutions for LeetCode challenges. Improve your coding skills and problem-solving abilities. Join me on this journey! 🌟🐍

NotificationsYou must be signed in to change notification settings

ahmedshaban980/solving_leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode SolutionsPython 3

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.

Table of Contents

Repository Overview

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.

Features

  • Organized by problem number for easy navigation.
  • Each solution includes comments for clarity.
  • Solutions cover a variety of topics, ensuring a broad learning experience.

Topics Covered

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.

Getting Started

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

Prerequisites

Make sure you have Python 3 installed on your machine. You can download it from theofficial Python website.

How to Use

  1. Navigate to the folder of the specific problem you want to work on.
  2. Open the corresponding Python file.
  3. Read the problem statement and my solution approach.
  4. Run the solution using the following command:
python3 problem_number.py

Example

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.

Contributing

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.

Steps to Contribute

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes.
  4. Commit your changes with a clear message.
  5. Push to your branch.
  6. Submit a pull request.

License

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.

Releases

For the latest updates and releases, visit theReleases section. Here, you can download files and execute them on your local machine.

Notable Releases

  • 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.

Contact

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!

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp