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.