This repository contains a collection of Python solutions for various competitive programming problems. Each file is named according to the problem or its main function, making it easy to navigate and locate specific solutions.
- Each file (e.g.,
01_maxScore.py,02_vowelStrings.py, ...) contains the solution to a single competitive programming problem. - File names generally reflect the main topic or function solved in the script.
- All solutions are implemented in Python.
To run any solution:
- Clone this repository:
git clone https://github.com/sachin-kumar-2003/competitivePrograming.git cd competitivePrograming - Run a script using Python:
(Replace
python 01_maxScore.py
01_maxScore.pywith the file you want to execute.)
Some sample files:
- 01_maxScore.py
- 02_vowelStrings.py
- 03_waysToSplitArray.py
- 04_countPalindromicSubsequence.py
- 05_shiftingLetters.py
And many more!
For the complete list of files, see the repository contents.
Contributions are welcome!
If you’d like to add new solutions or improve existing ones, feel free to open a pull request.