Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions in C++

This repository contains carefully selected interesting and valuable LeetCode problems and their solutions implemented in C++. It focuses on problems that teach important algorithmic concepts and are frequently asked in technical interviews.

📚 Problems Covered

# Problem Difficulty Topic
1 Longest Common Subsequence Medium Dynamic Programming
2 Minimum Element After Digit Sum Replacement Medium Simulation
3 Basic Calculator Hard Stack, String Parsing
4 Excel Sheet Column Number Easy Math
5 Find Duplicate Number Medium Array, Two Pointers
6 Longest Palindrome Substring Medium String, Dynamic Programming
7 Permutation in String Medium Sliding Window
8 Permutations Medium Backtracking
9 Remove All Adjacent Duplicates in String Easy Stack
10 Search Insert Position Easy Binary Search
11 Spiral Matrix Medium Matrix, Simulation
12 String Compression Medium String, Two Pointers
13 Super Power Medium Math, Modular Arithmetic
14 Walking Robot Medium Simulation, Set
15 Walking Robot II Hard Simulation, Complex Logic

🎯 Key Topics

  • Dynamic Programming: Longest Common Subsequence, Longest Palindrome Substring
  • Backtracking: Permutations
  • Sliding Window: Permutation in String
  • Stack: Basic Calculator, Remove Adjacent Duplicates
  • Binary Search: Search Insert Position
  • Array Techniques: Find Duplicate, Spiral Matrix
  • String Processing: String Compression, Excel Sheet Column
  • Simulation: Walking Robot, Walking Robot II
  • Math: Super Power, Modular Arithmetic

🚀 How to Use

  1. Clone the repository:

    git clone https://github.com/Myparadox-creator/C-_leetcode.git
  2. Browse through the problems by difficulty level or topic.

  3. Check individual files for:

    • Well-documented C++ solutions
    • Algorithm explanations
    • Time and space complexity analysis
    • Edge cases handled

💡 Why This Repo?

  • Quality Over Quantity: Only the most valuable and insightful problems
  • 🎓 Interview Ready: Problems frequently asked in technical interviews
  • 📖 Learning Resource: Each solution demonstrates important algorithmic patterns
  • 🔍 Well-Organized: Problems categorized by difficulty and topic
  • 💻 Production-Grade Code: Well-structured and commented solutions

🤝 Contributing

Contributions are welcome! You can:

  • Suggest optimizations for existing solutions
  • Add more valuable problems and solutions
  • Improve explanations or documentation
  • Fix bugs or edge cases

📄 License

This repository is under the MIT License.


Happy coding! 🚀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages