Add one LeetCode, Codewars or HackerRank solution you have already solved

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

维护者通常 1 天内回复

@d1vyPandey 已经在做这个了。

开始于 2026年11月16日。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
90/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
content

调研方向

打开 solutions/ 目录,查看你所用语言文件夹中现有的编号最大的 practice<n> 文件,以确定下一个编号。创建 solutions/<language>/practice<next>.<ext>,放入你已经解决的问题,并添加包含问题名称、链接和一行说明的头部注释。完成意味着该文件遵循该命名和头部注释模式,并且已针对该仓库打开 pull request。

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

描述

5-minutes algorithm all-levels any-language beginner-friendly codewars easy good first issue hackerrank hacktoberfest help wanted interview-prep leetcode open-source students

Already solved something on LeetCode, Codewars, HackerRank, CheckiO, or GeeksforGeeks? Paste it here.

Time: about 5 minutes
Skills: whatever you already used to solve it

What to do
  • Save your solution as solutions/<language>/practice<next number>.<ext>
  • Add the header comment: problem name, link, one-line note
  • Open a PR

It does not need to be clever or short. Working code is the goal.


Who can take this

Anyone. Beginners, experienced developers, students, and people who do not code. Any language, any level. If you want to help, you are welcome here.

How to contribute

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

Never opened a pull request before? Start with First Contributions or watch this walkthrough.

Stuck on anything? Ask in the comments. Basic questions are fine.

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 摘要。