Skip to content

Update _687.java #25

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
Oct 20, 2018
Merged

Conversation

jianminchen
Copy link
Contributor

dfs function name should be a meaningful name, add comment or change the name to calculateLongestUnivaluePathFromRootToLeaves. Specify the additional calculation of max univalue path cross the root node, global maximum value is updated.

I think that it is better to add comment right now to fit you overall coding style.

change dfs function name to meaningful name, calculateLongestUnivaluePathFromRootToLeaves, and also additional calculation of max univalue path cross the root node should be specified somehow, one or two comments should be very helpful.
@fishercoder1534 fishercoder1534 merged commit 960e2dd into fishercoder1534:master Oct 20, 2018
fishercoder1534 pushed a commit that referenced this pull request Jun 6, 2019
change dfs function name to meaningful name, calculateLongestUnivaluePathFromRootToLeaves, and also additional calculation of max univalue path cross the root node should be specified somehow, one or two comments should be very helpful.
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