Skip to content

Analyse and Refactor Functions #3

Open
marissamolejon/Module-Complexity
#2

Description

@SallyMcGrath

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

Activity

  1. added theissue type on Apr 21, 2025
  2. changed the title [-]3. Analyse and Refactor Functions[/-] [+]04 Analyse and Refactor Functions[/+] on Aug 1, 2025
  3. changed the title [-]04 Analyse and Refactor Functions[/-] [+]Analyse and Refactor Functions[/+] on Jan 6, 2026
  4. added
    CoreThis is a core task and should be completed by all trainees
    on Jan 6, 2026
  5. removed theissue type on Jan 6, 2026
  6. marissamolejon commented on May 28, 2026

    @marissamolejon

    Kamino closed and cloned this issue to marissamolejon/My-Coursework-Planner

  7. locked and limited conversation to collaborators on May 28, 2026
  8. moved this to 📋 Backlog in My Coursework Planner Boardon Jun 7, 2026
  9. moved this from 📋 Backlog to 🏗 In progress in My Coursework Planner Boardon Jun 7, 2026
  10. moved this from 🏗 In progress to 👀 In review in My Coursework Planner Boardon Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions