Skip to content

Fixed typo and formula #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nhantran0
Copy link
Contributor

In application finding LCP of 2 substrings without additional memory, the answer's formula min{p[i], p[i+1], ..., p[j-1]} is wrong. p is array of index. The right formula should be min(lcp[i], lcp[i+1], ..., lcp[j-1]).

@jakobkogler jakobkogler merged commit d993170 into cp-algorithms:master Aug 22, 2018
@jakobkogler
Copy link
Member

jakobkogler commented Aug 22, 2018

@cnhan13 Thanks for fixing these errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants