Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Lindemeier 024eb77fbe Refactor Day10 to simplify LINQ usage in `GetButtonCombinations` by removing unnecessary `.Select()` 2025-12-12 20:20:50 +01:00
Sebastian Lindemeier 0d0d1b2150 Refactor Day10 to replace `GetPatternCosts` with `GetButtonCombinations` and introduce `ButtonCombination` record for improved readability and modularity 2025-12-12 20:19:45 +01:00
Sebastian Lindemeier f4b5111fa0 Refactor Day10 to remove unoptimized methods, simplify input parsing, and improve readability and maintainability of lamp and joltage logic by consolidating bitmask logic 2025-12-12 20:11:53 +01:00
Sebastian Lindemeier 1873ce8e66 Refactor Day10 to optimize pattern cost calculation by introducing bitmasking and grouping logic (speedup from 7 sec to 0.2 sec) 2025-12-12 15:03:01 +01:00
Sebastian Lindemeier aaf32260d0 Extract `Coordinate`, `IntegerRange` and `Coordinate3d` to new `AdventOfCode.HelperClasses` project and refactor solution for modularity and type consistency 2025-12-12 13:14:17 +01:00
Sebastian Lindemeier 85516cd783 Extract `IntArrayEqualityComparer` to new `AdventOfCode.HelperClasses` project and refactor solution to use the shared class 2025-12-12 12:39:31 +01:00
Sebastian Lindemeier d0b612154a Extract `Combinations` method to `AdventOfCode.Extensions` and refactor usages to improve modularity and reduce duplication 2025-12-12 12:35:01 +01:00
Sebastian Lindemeier d92293f631 Refactor Day10 to rename variables for consistency and add `.ToArray()` in `ParsePuzzleInputUnoptimized` to optimize LINQ evaluation 2025-12-12 11:54:39 +01:00
Sebastian Lindemeier 801b96de1d Refactor Day10 to rename variables and improve readability in `GetMinCountInternal` 2025-12-12 11:49:23 +01:00
Sebastian Lindemeier 90b4e59171 Refactor Day10 to rename variables in `GetJoltageLevelsForButtonPattern` for improved clarity 2025-12-12 11:46:07 +01:00
Sebastian Lindemeier ea4ccd11a5 Finally able to remove Z3 from Day 10 thanks tenthmascot 2025-12-12 11:39:03 +01:00
Sebastian Lindemeier 3af6cc3233 Refactor Day10 to enhance button and joltage handling, implement Z3 solver for Part 2 logic, and update tests accordingly 2025-12-11 12:05:45 +01:00
Sebastian Lindemeier 6621a36021 Add Day10 implementation with puzzle-solving logic and tests 2025-12-11 06:02:07 +01:00