CodeYourFuture / CodeYourFuture/Module-Complexity

Analyse and Refactor Functions

未關閉
#3 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
🏕 Priority Mandatory 📅 Sprint 1 🦑 Size Large Core Module-Complexity Submit:PR
主要語言
Python
星號
0
分支
60
PR 合併指標
30 天內沒有已合併 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。