Skip to content

Handling Extra Case#182

Open
ayushj1 wants to merge 1 commit intocareercup:masterfrom
ayushj1:patch-1
Open

Handling Extra Case#182
ayushj1 wants to merge 1 commit intocareercup:masterfrom
ayushj1:patch-1

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