whatnot
whatnot
suffix array in N (logN)^2 : )
add O(n) lcp
test unique substrings count
SRM 527 Div 2 Lvl3