Изменения
→Псевдокод
'''lcp''' (<tex>j_1</tex>, <tex>j_2</tex>)
<tex>l</tex> <tex>\leftarrow</tex> <tex>-1</tex>
<tex>r</tex> <tex>\leftarrow</tex> <tex>|Ss|+1</tex>
'''while''' (<tex>r - l > 1</tex>)
<tex>m</tex> <tex>\leftarrow</tex> <tex>(r + l) / 2</tex>