We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://leetcode.cn/problems/serialize-and-deserialize-binary-tree/
AttributeError: 'NoneType' object has no attribute 'append'
在python中sb是空列表,不能连续进行append操作,需要分两步进行append,如: sb.append(self.NULL) sb.append(self.SEP)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请在提交 bug 之前先搜索
出错的题目链接
https://leetcode.cn/problems/serialize-and-deserialize-binary-tree/
报错信息
AttributeError: 'NoneType' object has no attribute 'append'
在python中sb是空列表,不能连续进行append操作,需要分两步进行append,如:
sb.append(self.NULL)
sb.append(self.SEP)
你是否愿意提交 PR 修复这个 bug?
The text was updated successfully, but these errors were encountered: