Skip to content

abdullahforecasts/MyLeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyLeetCode: LeetCode Solutions in C++

This repository contains my personal solutions to various LeetCode problems, implemented in C++.


🚀 Features

  • Structured Solutions: Each file corresponds to a specific LeetCode problem using proper naming conventions.
  • Optimized Code: Focused on clean, readable, and efficient C++ implementations.
  • Wide Coverage: Includes a variety of data structures, algorithms, BFS, DFS, and more.

🧠 File Naming Convention

Each solution is named using the following format:

<problem_number>_<Problem_Name>.cpp

For example:

994_Rotting_Oranges.cpp

This represents LeetCode Problem 994 – Rotting Oranges.


🛠️ Getting Started

🔧 Prerequisites

  • A working C++ compiler (e.g., GCC, Clang)
  • Code editor or IDE (e.g., VS Code, CLion, Code::Blocks)

▶️ How to Run

  1. Clone the repository:

    git clone https://github.com/abdullahforecasts/MyLeetCode.git
    cd MyLeetCode
  2. Compile and run a solution:

    g++ 994_Rotting_Oranges.cpp -o oranges
    ./oranges

📝 Note: Some problems may use cin/cout input/output or custom inputs. Make sure to check comments in the code for how to test.


🤝 Contribution

If you'd like to contribute:

  1. Fork the repository
  2. Create a new branch with your solution
  3. Commit and push changes
  4. Open a pull request

Your suggestions and alternate approaches are welcome!


📜 License

This project is licensed under the MIT License — use the code freely for learning or practice.


📬 Contact

For queries or feedback: 📧 [email protected]

Or visit my GitHub Profile

Happy coding! 💻✨

About

This repo is all about the solutions of the leetcode problems which i solved.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages