Skip to content

Sheffield | 26-ITP-Jan | Mahammad Osman | Sprint 1 | Sprint-1#1074

Open
Darkidd77 wants to merge 7 commits intoCodeYourFuture:mainfrom
Darkidd77:sprint-1
Open

Sheffield | 26-ITP-Jan | Mahammad Osman | Sprint 1 | Sprint-1#1074
Darkidd77 wants to merge 7 commits intoCodeYourFuture:mainfrom
Darkidd77:sprint-1

Conversation

@Darkidd77
Copy link

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

dedupe.js: Implemented array deduplication logic.

max.js: Refactored to use a functional pipeline (.filter() and Math.max with the spread operator ...) to safely ignore NaN and non-numeric strings.

sum.js: Implemented sum calculation using .reduce().

includes.js: Fixed a premature return bug inside the loop so the function correctly evaluates the entire array before returning false.

solution.js (Advent of Code): Built a data parsing pipeline using fs.readFileSync, .split('\n'), and .map(Number) to process a text file and calculate a final total using .reduce().

@Darkidd77 Darkidd77 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant