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

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

I have solved the easy version of the problem. But I have no idea how to solve this one. Do I require any new algorithms? Can someone please help me solve this problem?

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

»
21 месяц назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Learn pattern searching algorithms like Z function, KMP, etc. I used Z function to solve this question.