-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
树的打印函数好像对null处理有点问题,麻烦大佬帮看下 #36
Comments
作者应该是认为每一层都会比上一层多一倍, 没考虑null的情况,导致
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
例如Leetcode94题,输入: [1,null,2,3],调用TreeNode.print( )函数,3会丢失
The text was updated successfully, but these errors were encountered: