Analyse and Refactor Functions

Đang mở
#3 1 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ó
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ả

🏕 Priority Mandatory 📅 Sprint 1 🦑 Size Large Core Module-Complexity Submit:PR
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

  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 CodeYourFuture/Module-Complexity

Tất cả issue của CodeYourFuture/Module-Complexity

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.