[moz] feat: 排序算法实现最大值查找 #108
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
任务
实现一个排序算法模块,从一堆数字中找到最大值。
输入
一个数字列表(int 或 float),例如
[3, 1, 4, 1, 5, 9, 2, 6]输出
列表中的最大值,例如
9验收标准
def find_max(nums: list[int | float]) -> int | floatNonesrc/algorithms/目录备注
这是一个简单的演示任务,用于验证 toolchain 流程。
关闭重试,改为新 Issue 验证 §21 YAML 模板路由。