Challenge: make an existing solution shorter or faster (30 min)

Đang mở
#137 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Browse the existing solution files and choose one to improve. Keep the original, add a version named practice<n>_v2.<ext> or place yours below it, and explain the change in a comment; mention time complexity if it changes. The issue does not name a file or test, so first identify a suitable solution and compare your version with the original.

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

Mô tả

30-minutes algorithm all-levels any-language codewars hackerrank hacktoberfest help wanted interview-prep leetcode medium open-source refactor students

Think you can do it better? Prove it.

Pick any solution and write a cleaner, more idiomatic, or faster version, in the same language or a different one.

Time: ~30 minutes | Level: Beginner to intermediate

Rules
  • Keep the original solution
  • Add yours as practice<n>_v2.<ext> (or below the original)
  • Explain what changed in a comment
  • Mention time complexity before/after if it changed

Show off your best tricks. Learning from each other's style is the whole point.


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. Comment on this issue to claim it
  2. Fork this repo
  3. Clone your fork and create a new branch
  4. Make your change
  5. 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
Merge trung bình
4 giờ 40 phút
Pull request đã merge (30 ngày)
11

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.