Skip to content

add revised clear version of LCA via RMQ and Euler Tour #3

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
merged 1 commit into from
Sep 4, 2017
Merged

Conversation

joney000
Copy link
Owner

@joney000 joney000 commented Sep 4, 2017

Why : In frequent data problems, it require to do depth first search multiple times. So modifying Adj-List is not a good idea. Also Needed a more clear version of LCA code.
How : Make graph adj-list mutable.

@joney000 joney000 merged commit b86f56c into master Sep 4, 2017
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.

1 participant