Analyse and Refactor Functions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- performance
Hướng nghiên cứu
Bắt đầu với phần bài tập Sprint-1 được liên kết trong issue và kiểm tra các hàm được cung cấp để tìm sự kém hiệu quả về thời gian hoặc không gian. Với mỗi hàm, hãy ghi lại phân tích độ phức tạp, tái cấu trúc hàm để giảm độ phức tạp và giải thích sự cải thiện trong pull request; xem xét các phân tích của những người khác trước khi gửi bài.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Link to the coursework
https://github.com/CodeYourFuture/Module-Complexity/tree/main/Sprint-1
Learning Objectives
- Identify areas of inefficiency that contribute to higher time or space complexity
- Refactor the code to reduce its complexity.
- Review the analyses of others
Why are we doing this?
It is easier to understand complexity in the abstract than it is to recognise and apply it in our everyday code. In this module you will focus on noticing complexity in code you and your colleagues write.
In Sprint 1, we have provided you a selection of functions that are written in inefficient ways. Your goal is to collaborate on refactoring these functions. It's not enough to improve the code, you must also explain why your refactor is objectively better.
Maximum time in hours
6
How to get help
Bring this to class and study groups. The goal is to collaborate.
How to submit
Fork the repo to your own GitHub account
Make regular small commits with clear messages
When you are ready, open a Pull Request to the CYF repo
Make sure you explain your work clearly in your PR message
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 60
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeYourFuture/Module-Complexity
-
NotCoursework
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Complete the SDC end survey Đang mở🏕 Priority Mandatory 📅 Sprint 2 Core Module-Complexity Submit:None 🦔 Size Tiny
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
Mentored Pair Programming Đang mở🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 2 Module-Complexity Submit:None
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
-
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Complexity Submit:None
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
-
Implement a Skip List Đang mở🏝️ Priority Stretch 📅 Sprint 2 🦑 Size Large Module-Complexity Optional Submit:PR
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
Tất cả issue của CodeYourFuture/Module-Complexity
Issue tương tự
-
sponsored
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
opensubtitlescom: moviehash never sent when opensubtitles (.org) is not in the provider list Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Diaoul/subliminal#1382 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
triage/confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
agentscope-ai/agentscope#2775 ·
-
worker.gpuVendors silently accepts unsupported/misspelled vendor names — no validation guard Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100