Reverse-string: add a test case with a longer string
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- performance, testing
调研方向
找到 ReverseString 的测试规范及其现有的基准测试输入;先比较当前的短样本。添加一个具有代表性的较长字符串,并验证测试或基准测试是否显示出预期的性能差异。该 issue 未指定文件或测试命令,因此需要搜索 repository。
由索引模型根据 Issue 内容生成。
描述
I recently mentored a student on ReverseString who had started off with a naive algorithm that had quadratic complexity. It was a bit disappointing to see that in the benchmarks, the speedup was not that great. I noticed that all the sample strings in the test suite are rather short. Maybe we could add at least one longer string so that the performance gains of a better algorithm become more impressive?
- 主要语言
- Ruby
- 星标
- 362
- 派生
- 566
- 平均合并
- 15 小时 13 分钟
- 30 天内合并 PR
- 8
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
exercism/problem-specifications 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
exercism/problem-specifications#2686 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
exercism/problem-specifications#2704 · 21 条评论 · 8 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 35/100
exercism/problem-specifications#2153 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
exercism/problem-specifications#2120 · 7 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
exercism/problem-specifications#2108 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
查看 exercism/problem-specifications 的全部 Issue
相似的 Issue
-
Bug Ruby Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-ruby#3228 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
開発用DockerイメージにPlaywrightのシステム依存を追加する可能已有人在做 @momocus 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
sakazuki-org/sakazuki#1453 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 76/100
jenkins-infra/jenkins.io#9615 · 1 条评论 ·
维护者通常 1 天内回复