Skip to content
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

Handling Extra Case #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Handling Extra Case #182

wants to merge 1 commit into from

Conversation

ayushj1
Copy link

@ayushj1 ayushj1 commented May 6, 2020

For tree @ https://assets.leetcode.com/uploads/2018/12/14/binarytree.png

This code fails, and returns null where the actual lca is 5.

Added check for this code break.

For tree @ https://assets.leetcode.com/uploads/2018/12/14/binarytree.png

This code fails, and returns null where the actual lca is 5
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