Commit graph

16 commits

Author SHA1 Message Date
03401f61a8
feat: Add README.md for Day 2 Advent of Code 2024 challenge 2024-12-02 07:32:45 +01:00
cb337993ce
rename folder to day01 2024-12-01 18:22:31 +01:00
5fd3901892
chore: run formatter 2024-12-01 18:21:21 +01:00
ebf68345ad
refactor: Move Day 1 tests to dedicated test file and simplify main test suite
fix bug
2024-12-01 18:18:02 +01:00
ac7eea0f9b
feat: Reorganize project structure for Day 1 solution
This commit:
- Moves input files to priv/inputs/day1/
- Creates solutions directory in lib/advent_code2024/solutions/
- Adds README.md with problem description
- Updates module and import paths
- Removes old directory structure
2024-12-01 18:10:25 +01:00
c1fc39ac17
refactor: Improve error handling in solve and solve_part2 functions 2024-12-01 18:04:57 +01:00
85ebc05ead
feat: Add Solution behaviour for standardizing Advent of Code daily solutions 2024-12-01 18:01:41 +01:00
9869ade615
docs: Enhance module documentation and add input validation 2024-12-01 17:59:47 +01:00
5a966b4839
refactor: Add type specs and simplify calculate_similarity_score function 2024-12-01 17:59:45 +01:00
8a6ea03597
chore: format and renaming 2024-12-01 16:29:12 +01:00
992008b34c
refactor: Move Day 1 logic into dedicated module
refactor: Limit public API of Day1 module and remove private function tests
2024-12-01 16:18:22 +01:00
dc74c4a7b1
feat: Add solve_day1_part2 function and test for Day 1 Part 2 2024-12-01 10:15:53 +01:00
fee5ec25f3
feat: Add similarity score calculation for Day 1 Part 2 2024-12-01 10:12:03 +01:00
d382b3e31c
feat: Add file reading and parsing functions for Day 1 puzzle solution 2024-12-01 10:05:51 +01:00
8346a50620
feat: Implement calculate_total_distance function with sorting and absolute difference calculation 2024-12-01 09:53:12 +01:00
aa1d1ac20d
project scaffold 2024-12-01 09:46:47 +01:00