- masashinakata
- 4914
- 1
- 0
- 0
satanic@研究💪
@satanic0258
自分のが速いのかどうか,fastio勢がいるとうまく検索できないので自分もfastioを用意しようかという気持ち
2020-09-20 16:59:51
opt
@opt_cp
部分文字列を「suffix の prefix」に言い換えると,重複分を引くために suffix array が役立ちそう. suffix を辞書順に見ていった時,i+1 番目の suffix の prefix で,今までに見た suffix の prefix と重複するものの個数は,「i 番目と i+1 番目の suffix の LCP の長さ」に等しい
2020-09-20 17:02:20
maspy
@maspy_stars
@opt_cp (競プロに限らず)suffix array の構築において、部分文字列検索ができるというは主要なモチベーションだと思います。
2020-09-20 17:08:23