Add missing problem info to solutions with no description - no code needed

未关闭 适合新手
#281 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
documentation

调研方向

阅读 TOPICS.md 中的 Solutions Needing Attention 部分,并检查 solutions/python/ 下一个缺少问题标题的 Python 文件。尽可能根据代码识别问题,然后只添加注释,写明问题名称、找到时的来源链接,以及一行解题思路;如果问题无法确定,请说明。选定的文件包含所要求的标题,并且你在评论中注明其路径后,任务即完成。

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

描述

5-minutes algorithm all-levels any-language beginner-friendly community documentation easy first-timers-only good first issue hacktoberfest help wanted learning no-code-needed open-source python students

You don't have to write code to contribute

Some solutions have no information at all: no problem name, no description, no link. Help the next learner know what they are looking at.

Time: ~5 minutes | Skills needed: Reading + writing

Task
  • Pick any file in solutions/python/ that starts with code instead of a comment, or has only a title (tip in PowerShell: Get-ChildItem solutions/python/*.py | Where-Object { (Get-Content $_ -TotalCount 1) -notmatch '^#' })
  • Read the code and work out what problem it solves
  • Add a header at the very top: # Problem: (the name), # Source: (a link, if you can find the same problem online), # Note: (one line about the approach)
  • (Optional) Add the time complexity if you know it

Files needing attention: Check the Solutions Needing Attention section in TOPICS.md for files that need headers, particularly missing
a # Note: sections.

Only edit comments, please don't change the code. If you are not sure what the problem is, say so in your comment instead of guessing.

Explaining code is one of the fastest ways to understand it.

Comment which file you picked.


Open for everyone

This issue is open for everyone: beginners, experienced developers, students, and people who don't code at all. Any language, any level, no experience required. If you want to help, you are welcome here.

How to contribute

  1. Fork this repo
  2. Clone your fork and create a new branch
  3. Make your change
  4. Commit, push, and open a Pull Request

New to open source? Start here before anything else:

First Contributions - github.com/firstcontributions/first-contributions

Prefer video? Watch this: How to contribute on GitHub (YouTube)

If this repo helps you or you like where it is going, a star is a nice way to say thanks and helps other people find it. Entirely optional, and you do not need it to contribute.

主要语言
Python
星标
3
派生
2
平均合并
3 小时
30 天内合并 PR
44

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

Huerte/algo-solutions-python 的其他 Issue

查看 Huerte/algo-solutions-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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