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

[bug][java] 310. Minimum Height Trees #1566

Open
2 tasks done
zichengl opened this issue Apr 10, 2024 · 0 comments
Open
2 tasks done

[bug][java] 310. Minimum Height Trees #1566

zichengl opened this issue Apr 10, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@zichengl
Copy link

请在提交 bug 之前先搜索

  • 我已经搜索过 issues,没有发现相同的 bug。

出错的题目链接

https://leetcode.com/problems/minimum-height-trees/description/

报错信息

  1. 编译报错 For Loop 之后缺少 leaves = newLeaves 这一行
  2. For Loop 需要使用 Boxed Type 不能使用 Primitive Type, 不然Array List 在Remove的时候会当成Index 来操作
  3. 缺少 N = 0 的检查

你是否愿意提交 PR 修复这个 bug?

  • 我愿意!
@zichengl zichengl added the help wanted Extra attention is needed label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant