Welcome to CodeChef Solutions — a repository where I upload my Python solutions to various problems from CodeChef. This repository is intended to serve as:
- 📘 A personal archive of my problem-solving journey.
- 🧑💻 A reference for anyone looking to learn different approaches to competitive programming problems.
- 📈 A way to track my progress and improve coding & algorithmic skills.
-
Clone the repository:
git clone https://github.com/sdivyanshu90/CodeChef-Solutions.git cd CodeChef-Solutions -
Navigate to the problem’s folder.
-
Run the Python file:
python PROBLEM_CODE.py
- ✅ Well-structured Python solutions.
- ✅ Covers problems from all difficulty levels.
- ✅ Readable and commented code for clarity.
- ✅ Regularly updated with new solutions.
Here’s a sample solution format you’ll find in this repo:
# Problem Code: FLOW001
# Problem: Add Two Numbers
# Difficulty: Beginner
# Read number of test cases
t = int(input())
for _ in range(t):
a, b = map(int, input().split())
print(a + b)- Improve problem-solving skills.
- Cover a wide range of CodeChef problems.
- Help others learn through clean, efficient solutions.
This is primarily my personal solutions archive. However, if you have suggestions for improving code readability or efficiency, feel free to:
- Fork the repo 🍴
- Create a new branch 🌿
- Submit a Pull Request 🔥
This repository is licensed under the MIT License. You’re free to use these solutions for learning purposes, but please do not copy-paste them directly in contests — use them to understand and grow.
- CodeChef for providing a great platform to practice competitive programming.
- The competitive programming community for continuous inspiration.