ya_hossein's blog

By ya_hossein, history, 7 years ago, In English

in the name of god

i wonder which algorithms and data structures needed to solve D and E questions

i can solve C questions

but i can't solve D and E questions and i wonder what must i focus on it

actually practice and practice more is main way but i don't know that i must practice C questions more and more or i must

practice hard questions and one thing more is that how must i practice hard questions

for example think on one question for a weak or think on it 2-3 hours then read editorial of it...

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

»
7 years ago, # |
  Vote: I like it +55 Vote: I do not like it

I believe that practicing on hard problems (i. e. D and E) is way to go. As for how long you should try to solve a problem before you read the editorial, this is how I do it:

After reading the problem statement, I intensively think about it until I solve the problem or it stops being fun (which might come after an hour of solving). If I solve the problem, I code it. If not, I move to another problem without reading any spoilers (a.k.a. editorials). Thus, I often have a bunch of open unsolved problems I can think about during other activities (like traveling). Sometimes I solve some problem I've read a long time ago (a month, or even a year ago).

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

    thank you

    would you mind tell about which algorithms and data structure i must focus on them?

  • »
    »
    7 years ago, # ^ |
    Rev. 2   Vote: I like it +11 Vote: I do not like it

    Being a pupil, I want to ask you (Baklazan) that is this a right thing? I mean leaving a problem unsolved for quite some time and trying to solve it after some time. I have noticed that obviously , your approach for the problem becomes better the next time you try after few days / months but is it really one fast way to improve here?

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

      I don't know if my way is a fast way to improve. I do it like this mainly because I am too lazy to do anything else :)

    • »
      »
      »
      7 years ago, # ^ |
      Rev. 2   Vote: I like it +7 Vote: I do not like it

      He's already Red

      The amount of time you spend thinking about a problem depends on the toolbox you have on attacking it. Imagine there is a complicated lock in front of you ... If you are a locksmith, you will obviously try every tool you have at your disposal to open it before you give up and break it.

      However, if you're an ordinary person, it doesn't pay to try to open the lock because you simply don't have the tools or the skills.

      If someone is red, they will have a lot of patterns, ideas, algorithms, motifs in their head. They will take time in searching their minds for something that can be applied in this situation. However, a beginner is better advised to spend his time building that toolbox and collecting these ideas. So, reading the editorial is better ...

      And for someone blue, I think spending sometime trying and then looking is fine.

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

        i got to specialist just by experience and logic but everyone says practice without telling the toolbox, and finding stuff in problem is like finding needle in u know what, spending time on cp algo and doing tough ques is our only hope

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

          [user:naihogahumse]what toolbox..what type of problems to solve to reach specialist or Expert.

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

            Specialist is all about experience/exposure One can reach it just by logic

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

hello codforces! can any body tell me which algorithhm i must focus on them?

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

    You will not find any fixed algo's for D & E's. Different contests will have different subjects. You need a good way to practice. In my opinion, you should try a2oj.com . Here you will find the ladders most useful. Go to ladders, scroll down and you will see ladders like cf div2 D/E etc. Try those. The problems are sorted according to difficulty. I know many others solved these to improve.

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

Im so sad :( to still see you here on expert.

Good luck anyways boi.