Open GoogleCodeExporter opened 9 years ago
对rank[]的注释说:“ 名次数组. rank[0]一定是n-1,即最后一个字符”,其实应该是“ 名次数组. rank[n-1]一定是0,即最后一个字符”,代码中buildHeight()有rank[s a[i]]=i;故rank[n-1]=rank[sa[0]]=0;
Original issue reported on code.google.com by pengfeit...@gmail.com on 3 Aug 2013 at 2:51
pengfeit...@gmail.com
er...确实是我写错了。谢谢
Original comment by rujia....@gmail.com on 3 Sep 2013 at 4:53
rujia....@gmail.com
Original issue reported on code.google.com by
pengfeit...@gmail.com
on 3 Aug 2013 at 2:51