Commit graph

61 commits

Author SHA1 Message Date
901ad6c645
test: add test for examples 2024-12-05 10:56:18 +01:00
2d73d1bb51
chore: scaffold day5 2024-12-05 10:36:32 +01:00
04787bd7f9
feat: read input from file 2024-12-05 10:36:32 +01:00
143b8c0742
fix: test are passing for part 2 2024-12-05 10:36:32 +01:00
6132f3d3d2
refactor: Improve X-MAS pattern detection with simplified diagonal checks 2024-12-05 10:36:32 +01:00
542cb5b06d
feat: Implement X-MAS pattern counting algorithm for grid search 2024-12-05 10:36:32 +01:00
4f5ae71599
remove the implementation 2024-12-05 10:36:32 +01:00
998b6f6405
fix: Correct MASAS pattern detection in Day04 grid search
fix: Refactor X-MAS pattern detection in Day04 solution

fix: Remove extra `end` in day4.ex module
2024-12-05 10:36:32 +01:00
bacce02f21
fix: Resolve Day04 grid processing and X-MAS pattern matching 2024-12-05 10:36:32 +01:00
6aec2849a1
feat: Add count_x_mas function to find "MAS" pattern in grid 2024-12-05 10:36:32 +01:00
c2e2b4c31c
chore: fix default file for day3 + formatting 2024-12-05 10:36:32 +01:00
34a89c44f7
feat: solve part 1 2024-12-05 10:36:32 +01:00
df41b278f8
feat: implement solution to the example 2024-12-05 10:36:32 +01:00
ae53d65980
test: add test for day4 2024-12-05 10:36:32 +01:00
bdb91371cd
feat: Add test for part 2 README example in Day03 2024-12-05 10:36:32 +01:00
e1f4afe639
fix: Improve file handling and instruction parsing in Day03 solution 2024-12-03 14:21:23 +01:00
17c17fb4fb
fix: Implement Day 3 Part 2 solution with control instructions 2024-12-03 14:19:55 +01:00
abce745f07
test: Add comprehensive tests for Part 2 control instructions 2024-12-03 14:19:15 +01:00
94526545f9
feat: Add Part 2 summary to Day 3 README 2024-12-03 14:18:45 +01:00
62603926dc
docs: Add Part Two problem description to Day 3 README 2024-12-03 14:16:48 +01:00
a9db3bc044
feat: Improve Day03 solution with robust file handling and parsing 2024-12-03 14:10:00 +01:00
5958552501
fix: Improve file path handling in Day03.solve/1 2024-12-03 14:07:52 +01:00
ea60e261ff
fix: Improve file input handling in Day03 solution 2024-12-03 14:05:22 +01:00
70b2cf2086
feat: Implement mul() instruction parsing and summation for Day 3 2024-12-03 14:05:02 +01:00
787427de18
test: Add comprehensive tests for Day 3 multiplication parsing 2024-12-03 14:05:02 +01:00
e2dfc001ef
docs: Add README for Day 3 Advent of Code 2024 solution
docs: Add README.md for Day 3 Advent of Code problem description
2024-12-03 14:00:51 +01:00
645fe19996
feat: Create initial files for Advent of Code 2024 Day 3 solution 2024-12-03 13:52:44 +01:00
90bfa75b3a
feat: Add solve_part2/1 implementation for Problem Dampener functionality 2024-12-02 08:29:27 +01:00
d74989b5c4
test: Add comprehensive tests for Day 2 Part 2 Problem Dampener functionality 2024-12-02 08:24:35 +01:00
bc2091cb79
docs: Update Day 2 README with clearer Part 2 challenge description 2024-12-02 08:23:54 +01:00
9cf6061dcd
docs: Add Part Two problem description for Day 2 solution 2024-12-02 08:21:57 +01:00
ed6da53845
fix: Update solve/1 to handle both file paths and direct content 2024-12-02 08:17:51 +01:00
d200c5b512
feat: Add default input handling and file reading for Day 2 solution
fix: Resolve compilation errors in Day2 solution
2024-12-02 08:16:23 +01:00
b6e64a1b37
chore: add input for day 2 2024-12-02 08:01:00 +01:00
dbbe753072
feat: Add Day 2 solution for reactor report safety analysis 2024-12-02 07:54:17 +01:00
987fc30dd7
test: Add comprehensive test suite for Day 2 solution 2024-12-02 07:33:40 +01:00
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
4c70af439e
test: Add test input fixture for Day1 solution 2024-12-01 18:12:02 +01:00
f9f46eadde
refactor: Mirror lib folder structure in test directory for Day 1 2024-12-01 18:11:09 +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
5a5a16ab1c
docs: Add AI assistance details to README.md 2024-12-01 16:42:09 +01:00
c790fefd21
docs: Update README.md formatting and improve readability 2024-12-01 16:39:46 +01:00
11fe85f143
refactor: Enhance README with comprehensive project documentation 2024-12-01 16:38:44 +01:00