LCP

后缀数组经常用于求 LCP, 于是看到LCP就直接用后缀数组。

n^2的动态规划就可以完成对所有对的LCP求解,真是Orz!

posted @ 2014-10-03 23:06  Mr.Youyu  阅读(257)  评论(0)    收藏  举报