BD_SM's blog

By BD_SM, history, 6 days 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

»
6 days 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.

»
6 days 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.

  • »
    »
    6 days 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.

    • »
      »
      »
      6 days ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      try to think hard

      If you can't

      you can always post a blog to ask

      also try to search "cses github"

    • »
      »
      »
      6 days 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.

      • »
        »
        »
        »
        6 days ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        To be fair, Codeforces has statistics too. And it is a known problem that some people abuse virtual contests to be first place. But, this does not diminish the usefulness of virtual contests.

        Such things should not be important for learners. Learners just seek a resource to aid them in improving skill. In fact, it is extra discouraging to see such high statistics when they are stuck on problems without resources to help.

      • »
        »
        »
        »
        5 days 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 days 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