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

Đang mở Phù hợp với người mới
#358 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
markdown, python
Lĩnh vực
documentation

Hướng nghiên cứu

Chọn một tệp trong solutions/python/ không có comment tiêu đề, dựa trên danh sách trong mục Solutions Needing Attention của TOPICS.md. Đọc mã để xác định bài toán, rồi thêm các dòng comment # Problem:, # Source: và # Note: ở đầu tệp mà không thay đổi bất kỳ mã nào. Hoàn thành khi tệp đã có phần tiêu đề, mã không bị thay đổi và bạn đã bình luận trong issue kèm tên tệp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 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.

Ngôn ngữ chính
Python
Star
3
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Huerte/algo-solutions-python

Tất cả issue của Huerte/algo-solutions-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.