Skip to content

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 1 | Data Groups Implement#1003

Closed
Richiealx wants to merge 1 commit intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-1-implement
Closed

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 1 | Data Groups Implement#1003
Richiealx wants to merge 1 commit intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-1-implement

Conversation

@Richiealx
Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

This pull request contains my solutions for the Sprint 1 - Implement exercises in the Module Data-Groups.

Implemented functions

I implemented the required functions in the following files:

  • Sprint-1/implement/sum.js
  • Sprint-1/implement/max.js
  • Sprint-1/implement/dedupe.js

These functions perform the following tasks:

  • sum - calculates the total of numeric values in an array while ignoring non-numeric elements
  • findMax - returns the largest numeric value in an array while ignoring non-numeric elements
  • dedupe - removes duplicate values from an array while preserving the first occurrence

Corresponding test cases were completed in:

  • sum.test.js
  • max.test.js
  • dedupe.test.js

Testing

All tests were run locally using:
cd Sprint-1
npm test -- implement

All tests passed successfully.


@Richiealx Richiealx added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 13, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Mar 18, 2026

Trainees are expected to create one PR per backlog (instead of per folder).

Can you combined your Sprint-1 PRs into one PR, and close the unnecessary ones?

@cjyuan cjyuan removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 18, 2026
@github-actions
Copy link
Copy Markdown

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@cjyuan cjyuan added the Reviewed Volunteer to add when completing a review with trainee action still to take. label Mar 18, 2026
@github-actions
Copy link
Copy Markdown

Your PR couldn't be matched to an assignment in this module.

Please check its title is in the correct format, and that you only have one PR per assignment.

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@Richiealx Richiealx closed this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants