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

Appearance settings

This repository contains efficient and well-documented solutions to selected Medium-level problems from LeetCode, all written in Python. It aims to serve as a helpful guide for developers and students preparing for coding interviews and competitive programming contests.

License

Notifications You must be signed in to change notification settings

udityamerit/LeetCode-Medium-Problem-Solutions-in-Python

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Medium Problem Solutions in Python 🐍

LeetCode Python Status

Welcome to LeetCode Medium Problem Solutions in Python!
This repository contains efficient and well-documented solutions to selected Medium-level problems from LeetCode, all written in Python. It aims to serve as a helpful guide for developers and students preparing for coding interviews and competitive programming contests.


📌 Features

  • ✅ Clear and optimized solutions for medium-level LeetCode problems.
  • 🧠 Covers key data structures and algorithms such as:
    • Arrays & Strings
    • HashMaps & Sets
    • Binary Trees & Graphs
    • Dynamic Programming
    • Sliding Window
    • Two Pointers
  • 💬 Code is commented for better understanding.
  • 📁 Each problem is stored in a separate .py file for ease of access.

📂 Folder Structure


LeetCode-Medium-Problem-Solutions-in-Python/
│
├── 3\_Longest\_Substring\_Without\_Repeating\_Characters.py
├── 5\_Longest\_Palindromic\_Substring.py
├── 46\_Permutations.py
├── 102\_Binary\_Tree\_Level\_Order\_Traversal.py
├── 120\_Triangle.py
├── ...
└── README.md


🚀 Getting Started

Clone the repository:

git clone https://github.com/udityamerit/LeetCode-Medium-Problem-Solutions-in-Python.git
cd LeetCode-Medium-Problem-Solutions-in-Python

Run a solution:

Each file can be run independently using Python 3:

python3 3_Longest_Substring_Without_Repeating_Characters.py

Make sure the required inputs are provided (if prompted or hardcoded).


🤝 Contribution

Contributions are welcome! If you'd like to add more problems or improve the solutions:

  1. Fork the repository.
  2. Create a new branch.
  3. Add your changes.
  4. Submit a pull request.

📧 Contact

Uditya Narayan Tiwari 📍 Portfolio 🔗 LinkedIn 💻 GitHub


⭐ Star This Repo

If you find this repository useful, please consider giving it a ⭐ to support the work!


📝 License

This project is licensed under the MIT License.

About

This repository contains efficient and well-documented solutions to selected Medium-level problems from LeetCode, all written in Python. It aims to serve as a helpful guide for developers and students preparing for coding interviews and competitive programming contests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.