Блог пользователя L.O

Автор L.O, история, 7 лет назад, По-английски

Is there a better suffix array solution for this problem ?
This is my solution, but I think is very inefficient
Is there a better solution with suffix array?
there is no editorial for this round
I hope someone can help me!
Thanks!

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