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

LC树的第二题解法不对 #1142

Open
WuChunyang97 opened this issue Nov 10, 2021 · 0 comments
Open

LC树的第二题解法不对 #1142

WuChunyang97 opened this issue Nov 10, 2021 · 0 comments

Comments

@WuChunyang97
Copy link

在题中是要二叉树“每个”节点 的左右两个子树的高度差的绝对值不超过 1 ,而你解法只是比对了根节点的左右子树的高度差

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

No branches or pull requests

1 participant