Блог пользователя pokeland157

Автор pokeland157, история, 5 часов назад, По-английски

Do I?

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

»
5 часов назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

As an expert, I believe that it is not necessary for you to learn hashing so that you reach expert, because only in very few problems hashing is the only way to solve, but for sure it is a useful technique to learn

  • »
    »
    4 часа назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    if you can provide any good resources, it would be very helpful. Thanks

    • »
      »
      »
      4 часа назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      This should be plenty

»
4 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I've never used hash stuff on CodeForces, so no

»
4 часа назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

Nah. Chances you'd come across such in expert level are pretty rare, and even if so, deterministic alternative (KMP/Z) usually should also be available.

Not to mention, there are a number of other more prevalent topics you could improve on and reap the result.

  • »
    »
    4 часа назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    What are topics can I learn then?

    • »
      »
      »
      4 часа назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Solve some problems, learn how to use binary search.

    • »
      »
      »
      4 часа назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      I'd still advise basic binary search and some common sense to crack ad-hocs.

      Extra quirk if using C++: try to learn set/multiset. They're powerful tools for a handful of problems.

      • »
        »
        »
        »
        4 часа назад, # ^ |
          Проголосовать: нравится 0 Проголосовать: не нравится

        I know all that stuff, I guess the only thing I can do is solve tons of more problems.

        • »
          »
          »
          »
          »
          4 часа назад, # ^ |
            Проголосовать: нравится 0 Проголосовать: не нравится

          Seems like it. Either be faster or more precise with your code logic. That should do.

»
4 часа назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

I dont know either of those and im expert

»
58 минут назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

nah you dont have to but imo its not a hard concept. I just copy the usaco guide template and treat it like a black box. Moreover it may be useful in solving some problems, like I've "cheesed" some string hash problems that wouldve been impossible to come up otherwise. Just knowing that you can compare two substrings fast and what not is always good ig.