BD_SM's blog

By BD_SM, history, 5 years ago, In English

Can someone upload their solutions of the CSES problem set on github or any other site. Thank You!

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +17 Vote: I do not like it

Yes, especially for such a problem set as CSES which is supposed to be educational, it is often hard for learning when faced with a problem without much public solution or explanation of any kind.

Here a user ask for viewable code, and response is reasonable but does not address the need expressed in their other comments (asking for solutions, discussions) which were ignored.

Here another user ask for discussion forum, and response is to read book. But while book cover knowledge necessary to solve, specific application to problem may be challenging. These are just problems, why not refer to book for all CF upsolving? Book is not enough for learners who stuck on problems.

Here someone suggest join discussion chat, but chat is inefficient to search through, explanations choppy and unorganized. However, this is probably best resource for CSES as of now.

It would be great if we could crowdsource anything to make CSES, which is a good source of classical problems, more accessible to learners. Solution codes, hints, explanations.

»
5 years ago, # |
  Vote: I like it +6 Vote: I do not like it

It is a fundamental question in learning algorithms whether it is possible to view hints or model solutions before solving a problem.

The approach chosen in the CSES Problem Set (and also in other places, such as Project Euler), is that there are no hints or model solutions, and I believe this is the best way to learn. Only then you can freely think about the problem and develop your independent algorithm design skills.

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    But it would be beneficial for people who don't like being stuck on a problem for so long that they start getting frustrated to find the solution.

    If someone uploads all of their solutions somewhere it's a personal choice whether the person wants to see the solution or not. So, it's a win-win for both types of people.

    • »
      »
      »
      5 years ago, # ^ |
      Rev. 4   Vote: I like it 0 Vote: I do not like it

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it +11 Vote: I do not like it

      I partly agree with this. Still, the problem set has statistics and solving a large number of problems is a great achievement. It would not make sense that you can reach a top place by sending other people's solutions.

      • »
        »
        »
        »
        5 years ago, # ^ |
          Vote: I like it +1 Vote: I do not like it

        I know people will abuse it but why does it make a difference to other people? Almost all of the judges have their solutions posted on Github. It is very slow to write one blog for one question and then wait for someone to explain it. If I want to learn 10's of problems in one day it is much easier to see the codes of other people rather than asking every problem. Anyways someone please send code for https://cses.fi/problemset/task/1664 please.

»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it

If anyone does not wants to share the solutions with public because they will abuse the leaderboard. Please dm me a private link of solutions. I assure I will not beat you on the leaderboard

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This guy solved every problem in this 12 hours long youtube video. https://www.youtube.com/watch?v=oY0PBQt36YM

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You can refer to my repository on github, where i have solved many of the CSES problems & am still updating those solutions. I would also be giving a small editorial of the general idea about the solution approach: Link : https://github.com/MojoAlpha/CSES-Problemset

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You can find solutions on here