Help document programming problem solutions - no coding required

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

还没有人认领这个 Issue。

评估

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

调研方向

从 TOPICS.md 的 Solutions Needing Attention 列表中选择一个文件,阅读其解法,并确定问题和一个可靠的来源链接。添加必需的头部注释,其中包含问题名称、来源以及主题标签或简短的解决思路说明;只修改注释。检查该文件在 tests/<language>/ 下是否有通过的测试,如果没有则添加一个。头部注释完整且必需的测试通过后,即表示完成。

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

描述

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

You don't have to write code to contribute

Some solutions have missing or incomplete header comments. Help the next learner know what they are looking at.

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

Task
  • Pick any file listed in Solutions Needing Attention.
  • Read the code and work out what problem it solves.
  • Add the required header comment at the very top of the file:
    • Problem: the problem name
    • Source: a direct link to the problem
    • Topic: category tags or Note: a one-line summary of the approach (at least one is required)
  • (Optional) Add the time complexity if you know it.

Use the right comment syntax for the language (# for Python, // for JavaScript/TypeScript/Java/C++, -- for Haskell). Only edit comments in the solution file, please don't change the code. Note: CI requires every changed solution file to have a passing test at tests/<language>/test_practice<n>.<ext>, so if the file you pick does not have a test yet, include one in your PR. If you are not sure what the problem is, say so in your comment instead of guessing.

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:

Getting Started Guide

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
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、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 摘要。