-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor duplication and streamline day02 logic
- Refactor `Line` struct to include `has_valid_mutation` function, improving mutation checks across the board - Consolidate `part1` and `part2` functions into a unified `solve` function, enhancing code maintainability - Update main function and unit tests to integrate changes, ensuring functionality remains intact with new structure
- Loading branch information
Showing
1 changed file
with
35 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters