Today we have released a new version of the CSES Problem Set:

CSES Problem Set is a collection of algorithmic programming problems that can be used to practice competitive programming. We have now added 100 new problems, and the total number of problems is 300. There are both easy and difficult new problems, and some of them cover advanced topics, such as treaps, suffix structures, and FFT.

In 2020, there were more than one million submissions to CSES, which is a new record. Thank you for your submissions and new test cases through hacking!

Our ultimate goal is to create a problem set of 1000 problems, so you can expect many new problems also in the future. If you have ideas on how to improve the problem set, you can discuss them here.

Thank you for the problems

Great. Make it like one stop Platform where any beginner can blindly follow.

Sample explanations please.

Yes, we are working on it

Thank you!

hidden comment

Please add tutorial option in the problem statement page if possible.

https://cses.fi/problemset/task/2413/ Counting Towers

I am missing a proper defintion on how to count distinct towers. Is a rotation or a reflection another tower?

Thanks, now the problem statement should be easier to understand.

yanire Yoav Noam13 almogwald inbarin Back to the grind?

Thanks a lot !

Why does trying to hack Digit Queries give internal error?

Thanks, now it should be fixed

How to sort problems by difficulty level?

For anyone else, like me, curious for a list of just the new 100 problems to look through:

by categoryCSES — CSES Problem Set — Tasks

## Introductory Problems

## Sorting and Searching

## Dynamic Programming

## Graph Algorithms

## Range Queries

## Tree Algorithms

## Mathematics

## String Algorithms

## Geometry

## Advanced Techniques

## Additional Problems

Thanks for this but i have a suggestion :

Do not increase numbers , but focus on quality . Create a problemset which cover all possible topics of Competitive Programming with minimum number of problems. Else there will be no difference a online judge and this set . You can add other practice problem to a different section .

Nice good sir.

Thanks for doing this, I really appreciate your book and the problemset!

Couple of questions:

Is there any way to hide problem "tags" like DP, Graphs, etc? The only thing that stopped me from solving CSES is that you know if the problem will be DP or Graphs or Math in advance, thus making it less interesting.

Why 1000 problems? It feels great to solve everything, and this will be hard to do with 1000 problems, just from the time standpoint. 200 was perfect for this, 300 is not bad. I think it's possible to cover most essential topics/techniques, and still keep the problemset size small.

If you've started at the right time, after each expansion you only have to solve a 100 new problems :P

The idea is that the "tutorial" problems are divided into sections and then there are more difficult problems in the last section without hints.

With 300 problems the problem set is already quite comprehensive, but there are still many good educational problems that are missing. I agree with your point that it may take really long to solve them all in the future.

please add some decent questions of constructive algorithms to practice

Yeah, Constructive Algorithms are the most widely asked topic in these days contests.

Add some good level Problems on Constructive Algorithms !!

best problemset for beginners and intermediates. thankyou!

I think it would be great if there are discuss section like leetcode.

Some problems are quite hard for beginners like me to figure out the solution all by myself.

You are doing a great Job. Thank you!

The problems are really good. One suggestion: why not change the time limit for non-Cpp programs? I try submitting the solution in Java and it TLEs. Just converting it to cpp gets accepted.

I always dreamt of being 1st on the CSES leaderboard, but I never imagined being 2nd simultaneously!

"There are only two hard things in computer science: cache invalidation and naming things."

orz pllk

Nice initiative.....

Firstly, thank you for the helpful initiative!

I had a small clarification in this regard. The original post mentions the addition of problems based on some advanced concepts like treaps, suffix structures, and FFT. I just wanted to enquire as to if the book contains an explanation for these topics as well.

If not, can this please be done ?

Once again, thank you!

At the moment no, someday it will contain. Before that there are other sources that can be used to learn the topics.

Okay, thank you!

Official editorials of the problems may be a good idea.

Thank you for the amazing problem set!

I think it is the best website for someone who want to learn some new algorithm

Can you please add the sample explanations for the sample test case? I am finding some problems a little difficult to understand like Prefix sum queries.

Suggestion: add hacking leaderboards or some other way of crediting hackers.

Perhaps add next to a testcase the name of the person who added it? There are a few possibilities.

People will abuse it. Please take a look at educational round hacks.

Can anyone please help me out with the Counting Tilings problem?? I haven't been able to find any recurrence relation.Any hint??

HintI think it's bitmask dp, so $$$dp[i][mask]$$$ would be the answer for a $$$n \times i$$$ grid such that its $$$i$$$th column has positions covered at $$$mask$$$.