Skip to content

01mayankk/GeeksForGeeks-Solution

Repository files navigation

🧠 GeeksForGeeks-Solution

A comprehensive collection of problem solutions from GeeksforGeeks — neatly organized by difficulty level and problem type.
Each problem folder contains:

  • README.md — Problem statement, example, and explanation
  • .cpp file — Clean and optimized C++ solution

📂 Repository Structure

GeeksForGeeks-Solution/
│
├── Difficulty: Basic/
│ ├── Alternative Sorting/
│ │ ├── README.md
│ │ └── alternative-sorting.cpp
│ ├── Array Search/
│ ├── ...
│
├── Difficulty: Easy/
│ ├── ...
│
├── Difficulty: Medium/
│ ├── ...
│
├── Difficulty: Hard/
│ ├── ...
│
└── Difficulty: School/
└── Swap The Numbers/

Each difficulty level folder contains multiple problem sets, each with detailed documentation and solution files.


💡 About

This repository is a personal archive of coding problems I have solved on GeeksforGeeks, focusing on:

  • Problem-solving logic
  • Code optimization
  • Clean, well-documented solutions

The goal is to help learners and developers understand the approach and implementation of common programming problems in C++.


🚀 Languages Used

  • C++ (100%) — clean, modular, and efficient implementations.

🧩 Categories Covered

  • Array & String Problems
  • Linked List & Tree Problems
  • Searching & Sorting Algorithms
  • Mathematical & Bit Manipulation Problems
  • Recursion & Backtracking
  • Miscellaneous Coding Challenges

🏷️ Difficulty Levels

Difficulty Description
🟢 Basic Simple logic-based problems for beginners
🔵 Easy Straightforward problems with slight logical complexity
🟡 Medium Intermediate-level problems requiring algorithmic thinking
🔴 Hard Advanced problems involving optimized solutions and edge-case handling

🧭 How to Navigate

  1. Choose a difficulty level folder (e.g., Difficulty: Basic/).
  2. Open any problem folder.
  3. Read the README.md to understand the problem.
  4. Check the .cpp file for the full solution and explanation.

🧠 Author

Mayank Kumar
👨‍💻 @01mayankk
💬 Passionate about Algorithms, AI, and Clean Code


⭐ Contribute

Contributions are welcome!
If you'd like to improve documentation or add solutions in other languages, feel free to:

  1. Fork the repository
  2. Create a new branch
  3. Commit your changes
  4. Open a Pull Request

🏆 Achievements

  • Among Top 10% participants on GeeksforGeeks
  • Continuously solving problems to strengthen DSA and logic-building skills

🧾 License

This repository is open-source under the MIT License — feel free to use and learn from the code with proper attribution.


❤️ If you found this helpful, consider giving it a ⭐ on GitHub!

About

This repository contains the solution of code solved by me on GeeksForGeeks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages