m_nigam01's blog

By m_nigam01, history, 7 months ago, In English

Hello all,

I have been doing questions for a while now. I watched some youtube guy and he told to practice harder question instead of grinding simpler ones. I have been doing it but it's hard I give 45 minutes to 1200 -1300 level questions but couldn't come up with solutions. Even I code some solution i get wrong answer on some 97th or some test case i couldn't see. I can use stress testing but writing brute force solution every third question is pointless. I am using cfTracker as well currently i'm solved 73 question from (1200-1300) range out of those 38 is in again do tracker (couldn't come up with solution, made reading error, etc).

I am 26 years old and sometimes i think it would be better if i started earlier. I generally look at other people code who coded it during contest to see how i could have approached the solution but these guys are master or expert. Sometimes i have no clue what they are trying to do. I can see the code but couldn't understand why they used something or how something will be used later if i declare some variable. Since <1400 level question are generally involve some observation or constructive algorithms and i am struggling to solve even those, I get discouraged.

Thanks for listening to my rant. I will keep to trying even it is tough for now.

If you have any points on anything much appreciated especially for this one (i get wrong answer on some 97th or some test case).

  • Vote: I like it
  • +9
  • Vote: I do not like it

»
7 months ago, # |
  Vote: I like it +1 Vote: I do not like it

While I'm definitely not the next tourist, I think I can give you some advice. When I first started my CP journey, I definitely took your approach as well. Solving moderately challenging problems, as many as I can get my hands on. I can confirm that this worked great for me, but one thing that accelerated my progress was that while I gave it my best efforts to come up with a solution on my own, if I was stuck for 15+ minutes, I looked up an editorial and absorbed all of the key observations and ideas needed to solve that particular problem. Then I went ahead and implemented the problem on my own. This way, I knew to apply the newly learned insights on future similar problems. While it may be satisfying and even cathartic to finally get that AC, if you're looking to improve skills in a short amount of time, try not to spend too long on a particular problem. Now, I did not practice on CF (Baekjoon Online Judge, Korean OJ -- highly recommended, tons of English prob as well), but I think that this way of practicing could be of use to you as well. Best of luck in your journey!!

  • »
    »
    7 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Bro Sometimes, i come up with the solutions but its implementation took a lot of time and sometimes, i didn't understand the editorial. what should i do in this situation? Your suggestion can help me alot. So, please give some advice.

    • »
      »
      »
      7 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      If the implementation took a lot of time, that's ok. That means the problem helped you improve your implementation skills.

      If you don't understand the editorial, either the editorial is bad, or the problem is too difficult (usually the former). You may be able to find alternate editorials in the comments.

»
7 months ago, # |
  Vote: I like it -9 Vote: I do not like it

Open your laptop,one codeforces,read problem,think,code,submit

»
7 months ago, # |
  Vote: I like it +3 Vote: I do not like it

I started to practise 1200/1300 problems 2 weeks ago. I realised that for solving those problems you should have a knoledge on the basic data structures and algorithms. It is also good having a programming language that you feel preety confortable to write code.

And I am being very detached from solving problems. I try by myself solving the problem in 30 minutes. If I do not reach a way of solving the problem I read the editorial. Before trying the problem I read the problem statement quickly, If I do not have any I idea of tackling it I jump to other.

Good Luck in your journey !

  • »
    »
    7 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Harsh Truth is:
»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

hey qn qdvice i could give you is to see more editorials i am not saying do not think but do not spend much time try to focus a bit on dsa too i advice you to do cses as well some basic tricks could help you as intermediate step in some problems also remember that saying no pain no gain if you don't feel like struggling then you are not improving