Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

Автор nandapavan26, история, 13 месяцев назад, По-английски

Question: In some string problems l have used hashing for checking a substring is present in a given string in o(1) [i.e for matching a substring] but i had a doubt that how can we say that hashing doesn't undergo collision while checking for matching substrings?

Note: the hashing logic is the same logic that used in rabin karp algorithm for patter matching. Please correct me if am wrong in any case.

Everyone are invited to solve my doubt

Thanks in Advance !!!

Полный текст и комментарии »

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