Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[configlet] tree-building: missing test cases

未关闭
#3,133 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
java
领域
testing

调研方向

先阅读 issue #2959 中的“How to do this task”部分,然后按照其中的说明获取 configlet 并更新 tree-building 测试。将此处列出的 16 个问题规范案例作为检查清单;完成意味着每个列出的案例都已在 Java track 测试中实现。

由索引模型根据 Issue 内容生成。

描述

x:knowledge/elementary x:module/practice-exercise

Missing test cases for tree-building

Part of #2959.

The following test cases from problem-specifications are not yet implemented in this track:

  • 761790a3-4c27-461a-b4e9-8bce8ccee5a1 empty list
  • dcc89dc3-eb39-4f26-a3cd-964e607c95ff single record
  • dcdb80f0-e5da-43e1-8b8d-6f307be89c0e three records in order
  • 2ff5b8f8-d95e-401e-9359-233919488d22 three records in reverse order
  • de798d3b-8905-4446-a114-a0dd2476d945 more than two children
  • 13dd9b3c-6137-415f-b6fe-5044c1dfbc50 binary tree
  • 5cfd29dc-166b-47da-84ca-1c60b5ae5941 unbalanced tree
  • a05ddb5d-2d11-4948-88d3-b5f18a44ddce one root node and has parent
  • 9ed09df2-8fd6-4e37-aa37-e7753c057a1a root node has parent
  • 8755a2c4-2c6b-4396-b155-b5bf4b6bc280 no root node
  • c6ef8f9a-4045-4949-a1e1-e0ae804e4af4 duplicate node
  • 7a7b77a6-3447-4905-b79c-d22bfe43f408 duplicate root
  • c6f51bd7-3608-4390-b446-dfd1bcbf3ddc non-continuous
  • 1f3d1b50-4494-4b22-b88a-68f32f7d321d cycle directly
  • ac568b50-3f9b-4cb4-b602-e0eb13de4269 cycle indirectly
  • cf954b21-3cef-420c-8e72-d19547505e1f higher id parent of lower id
How to help

For detailed instructions on how to fetch configlet and update the tests, please see the "How to do this task" section in the main tracking issue:
👉 Read the instructions here

This issue is managed automatically by the Create Configlet Sync Issues workflow.

主要语言
Java
星标
836
派生
779
平均合并
8 小时 28 分钟
30 天内合并 PR
4

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

exercism/java 的其他 Issue

查看 exercism/java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。