Изменения
→Псевдокод
m_l = '''lcp'''(array[L], array[M]);
m_r = '''lcp'''(array[M], array[R]);
'''if''' (l <tex>\geqslant</tex>= r) '''if''' (m_l <tex>\geqslant</tex>= l)
m = l + '''lcp'''_l(s[array[M]], p);
'''else'''
m = m_l;
'''else'''
'''if''' (m_r <tex>\geqslant</tex>= r)
m = r + '''lcp'''_r(s[array[M]], p);
'''else'''
m = m_r;
'''if''' (m == w || p <=tex>\leqslant</tex><tex>_m</tex> s[array[M]]){
R = M;
r = m;