Help in understanding Goodbye 2019 problem F editorial (Awesome substrings)

Правка en2, от bully....maguire, 2019-12-31 17:30:22

I did not got the part of editorial where solution is optimized from O(n^2) to O(n^(1/2)) . I want to understand that part only .

Editorial

Please do not downvote this post :If some one helps me then this post might help some one else.

Thanks

Теги #help, good bye 2019

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский bully....maguire 2019-12-31 17:32:30 275
en2 Английский bully....maguire 2019-12-31 17:30:22 57
en1 Английский bully....maguire 2019-12-31 17:29:46 317 Initial revision (published)