practice: add questions on time complexity (Big-O)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 85/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- json, typescript
- 领域
- content
调研方向
阅读 shared/practice/questions.json 中现有的编程题,遵循其结构和惯例。在编程主题中添加三道原创的 Big-O 选择题,每题包含四个选项、一个 answerId 和一段推理说明。运行 npm ci 和 npm test;当题库检查在加入新题后通过,且现有 ID 保持不变时,修改即告完成。
由索引模型根据 Issue 内容生成。
描述
What to add
Add 3 original multiple-choice questions on time complexity (Big-O) to the programming topic in shared/practice/questions.json.
The programming topic has 6 questions and none of them cover time complexity (Big-O) yet. Some ideas (write your own wording and numbers):
- the complexity of a single loop over n items
- the complexity of two nested loops over n items
- comparing two approaches to the same task (binary search is already covered)
Look at the existing programming questions in the file first and follow the same shape.
Requirements
- The questions must be your own. Do not copy from books, websites, coaching material, or past papers.
- Each question has exactly 4 options (
atod), oneanswerId, and anexplanationthat shows the reasoning or working, not only the answer. - Use
"topicId": "programming"and"difficulty": "easy"or"medium". A mix of both is welcome. - Give each question a new lowercase ID, for example
programming-nested-loop-complexity. Do not change existing IDs. - Indian context is welcome (Rs, km, common names).
Check your change
npm ci
npm test
npm test checks the question bank (unique IDs, four distinct options, a valid answer). If you have the .NET SDK, also run dotnet test backend/ProCoderJi.slnx --configuration Release. If you don't, CI runs the backend tests on your pull request.
Before you start
Leave a comment here when you start so others can pick a different issue. New to open source? Start with CONTRIBUTING.md. Questions are welcome in the comments.
- 主要语言
- TypeScript
- 星标
- 1
- 派生
- 1
- 平均合并
- 8 小时 58 分钟
- 30 天内合并 PR
- 37
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
procoderji-com/procoderji 的其他 Issue
-
area:frontend bug
难度 2/5 1-3 小时 新手友好度 62/100
procoderji-com/procoderji#104 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
procoderji-com/procoderji#36 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 1/5 1-3 小时 新手友好度 79/100
procoderji-com/procoderji#34 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 1/5 1-3 小时 新手友好度 90/100
procoderji-com/procoderji#33 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 1/5 1-3 小时 新手友好度 82/100
procoderji-com/procoderji#32 ·
维护者通常 1 天内回复
查看 procoderji-com/procoderji 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug platform-android
难度 2/5 1-3 小时 新手友好度 68/100
Termix-SSH/Mobile#146 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
devswha/herdr-web-ui#3875 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复