Please read the new rule regarding the restriction on the use of AI tools. ×

altrko's blog

By altrko, history, 119 minutes ago, In English

i just cant understand the code even thought i really do understand idea. can anyone explain it?

  • Vote: I like it
  • -1
  • Vote: I do not like it

»
95 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Why do you wanna understand mo's algorithm code? practice some binary search problems instead.. mo's algo is not needed at this level.

  • »
    »
    8 minutes ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Because it's interesting! No one should need a reason to learn things.

    • »
      »
      »
      2 minutes ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I was just saying it is of no use to him if he is trying to do it in perspective of cp.. of course he can learn anything but he must know it will be of no use to him in cp at this stage.

»
92 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

You can read this. This is easy explanation.You should solve problem to understand why you will use this algorithm otherwise it will be useless to learn.