Skip to content

Ahmed-Maher77/Programming-Challenges__Problem-Solving

Repository files navigation

🧠 Programming Challenges & Problem Solving

Welcome to your all-in-one hub for mastering problem-solving through coding! This repository is a growing collection of challenges and solutions from various platforms such as Codewars, LeetCode, HackerRank, Edabit, and Codeforces—designed to strengthen your skills in JavaScript, TypeScript, C++, and beyond.


📂 Project Structure

Programming-Challenges__Problem-Solving/
│
├── Leetcode-Challenges/      # solutions for LeetCode problems using different programming languages
├── Codeforces-Challenges/    # solutions for Codeforces problems using different programming languages
├── codewars-js/              # JavaScript solutions for Codewars problems
├── general-problem-solving/  # Other problems not tied to a specific platform

✨ What's Inside?

  • ✅ Curated challenges with clear naming.
  • 🧾 Well-commented solutions to explain logic.
  • 🧠 Multiple approaches to the same problem where applicable.
  • 🌐 Platform links for direct access to challenges.

🚀 Who Is This For?

Whether you're a beginner or a seasoned developer, this repository is for:

  • 📚 Practicing algorithmic and data structure problems.
  • 🧪 Preparing for technical interviews.
  • 🛠️ Enhancing real-world problem-solving skills.

📘 Table of Contents

This table includes problems/challenges with their solutions:

# Challenge Name Platform Programming Language Challenge Link Solution Link [GitHub]
1 Even or Odd Codewars JavaScript Challenge Solution
2 Sum of Positive Codewars JavaScript Challenge Solution
3 Sum without highest and lowest number Codewars JavaScript Challenge Solution
4 String repeat Codewars JavaScript Challenge Solution
5 Convert number to reversed array of digits Codewars JavaScript Challenge Solution
6 Counting Sheep Codewars JavaScript Challenge Solution
7 Opposite Number Codewars JavaScript Challenge Solution
8 Return Negative Codewars JavaScript Challenge Solution
9 Jenny's secret message Codewars JavaScript Challenge Solution
10 A Needle in the Haystack Codewars JavaScript Challenge Solution
11 Count of positives / sum of negatives Codewars JavaScript Challenge Solution
12 Double Char Codewars JavaScript Challenge Solution
13 Basic Mathematical Operations Codewars JavaScript Challenge Solution
14 RGB To Hex Conversion Codewars JavaScript Challenge Solution
15 Scrabble Score Challenge Harvard-CS50 TypeScript Challenge Solution
16 Find the most repeated word in the sentence Codeforces JavaScript Challenge Solution
17 Caesar Cipher Encryption Harvard-CS50 TypeScript Challenge Solution
18 Maximum Adjacent Pair Sum with Equal Largest Digit Leetcode C++ Challenge Solution
19 Median of Two Sorted Arrays — Merge-Based Approach Leetcode C++ Challenge Solution
20 Two Sum Leetcode C++, TypeScript Challenge Solution
21 Rotate Array Leetcode C++ Challenge Solution
22 Longest Palindrome by Concatenating Two Letter Words Leetcode C++ Challenge Solution
23 Max Pair Sum in an Array Leetcode C++ Challenge Solution
24 Minimum Pair Removal to Sort Array I Leetcode C++ Challenge Solution
25 Median of Two Sorted Arrays Leetcode C++ Challenge Solution
26 Container With Most Water Leetcode C++ Challenge Solution
27 Maximum Subarray Leetcode C++ Challenge Solution
28 Symmetric Tree Leetcode C++ Challenge Solution
29 Watermellon Codeforces C++ Challenge Solution
30 Boy or Girl Codeforces C++ Challenge Solution
31 Team Codeforces C++ Challenge Solution
32 Anton and Letters Codeforces C++ Challenge Solution
33 Sereja and Dima Codeforces C++ Challenge Solution
34 Books Codeforces C++ Challenge Solution
35 Pangram Codeforces C++ Challenge Solution
36 Xenia and Ringroad Codeforces C++ Challenge Solution
37 Sale Codeforces C++ Challenge Solution
38 System of Equations Codeforces C++ Challenge Solution
39 Points in Segments Codeforces C++ Challenge Solution
40 Diverse Team Codeforces C++ Challenge Solution
41 IQ Test Codeforces C++ Challenge Solution
42 Beautiful Matrix Codeforces C++ Challenge Solution
43 Vasya and String Codeforces C++ Challenge Solution
44 They Are Everywhere Codeforces C++ Challenge Solution
45 Cellular Network Codeforces C++ Challenge Solution
46 Petya and Strings Codeforces C++ Challenge Solution
47 Gravity Flip Codeforces C++ Challenge Solution
48 Anton and Danik Codeforces C++ Challenge Solution
49 Vanya and Fence Codeforces C++ Challenge Solution
50 Fence Codeforces C++ Challenge Solution

🤝 Contributing

Want to contribute or add your own solutions?

  1. Fork the repo
  2. Create a new branch
  3. Add your challenge + solution using the same naming structure
  4. Open a PR (Pull Request)!

📜 License

This project is licensed under the MIT License.


Happy coding! 💻

About

This is your all-in-one hub for mastering problem-solving through coding! This repository is a growing collection of challenges and solutions from various platforms such as Codewars, LeetCode, HackerRank, Edabit, and Codeforces—designed to strengthen your skills in JavaScript, TypeScript, C++, and beyond.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors