https://github.com/destinationunknown/cses
Solutions to the CSES problem set in Python3
https://github.com/destinationunknown/cses
algorithms competitive-programming cses cses-solutions
Last synced: 8 months ago
JSON representation
Solutions to the CSES problem set in Python3
- Host: GitHub
- URL: https://github.com/destinationunknown/cses
- Owner: destinationunknown
- License: mit
- Created: 2020-06-30T20:33:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T16:03:49.000Z (over 2 years ago)
- Last Synced: 2025-03-25T23:14:10.329Z (9 months ago)
- Topics: algorithms, competitive-programming, cses, cses-solutions
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSES
Solutions with commented explanations to the CSES problem set, written in Python3 and C++. The full list of problems can be found [here](https://cses.fi/problemset/list/)
## About the CSES problem set:
From the [CSES website](https://cses.fi/problemset/text/1810)
> The CSES Problem Set is a collection of competitive programming practice problems.
>
> The goal of the project is to create a comprehensive high quality problem set for learning competitive programming. The current collection has 200 problems, and new problems will be gradually added.
## Problems and Solutions
### Introductory Problems
| Problem | Python Solution | C++ Solution |
|-------------------------------------------------------------|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
| [Weird Algorithm](https://cses.fi/problemset/task/1068) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1068.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1068.cpp) |
| [Missing Number](https://cses.fi/problemset/task/1083) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1083.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1083.cpp) |
| [Repetitions](https://cses.fi/problemset/task/1069) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1069.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1069.cpp) |
| [Increasing Array](https://cses.fi/problemset/task/1094) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1094.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1094.cpp) |
| [Permutations](https://cses.fi/problemset/task/1070) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1070.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1070.cpp) |
| [Number Spiral](https://cses.fi/problemset/task/1071/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1071.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1071.cpp)
| [Two Knights](https://cses.fi/problemset/task/1072) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1072.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1072.cpp)
| [Two Sets](https://cses.fi/problemset/task/1092) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1092.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1092.cpp) |
| [Bit Strings](https://cses.fi/problemset/task/1617/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1617.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1617.cpp) |
| [Trailing Zeros](https://cses.fi/problemset/task/1618) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1618.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1618.cpp) |
| [Coin Piles](https://cses.fi/problemset/task/1754) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1754.py) | [Solution](https://github.com/destinationunknown/CSES/blob/master/cpp/1754.cpp) |
| [Palindrome Reorder](https://cses.fi/problemset/task/1755) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1755.py) | |
| [Creating Strings I](https://cses.fi/problemset/task/1622/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1622.py) | |
| [Apple Division](https://cses.fi/problemset/task/1623) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1623.py) | |
### Sorting and Searching
| Problem | Solution |
|-----------------------------------------------------------|-----------------------------------------------------------------------------------|
| [Distinct Numbers](https://cses.fi/problemset/task/1621/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1621.py) |
| [Apartments](https://cses.fi/problemset/task/1084/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1084.py) |
| [Ferris Wheel](https://cses.fi/problemset/task/1090/) | [Solution](https://github.com/destinationunknown/CSES/blob/master/python/1090.py) |