Commit Graph
97 Commits
Author SHA1 Message Date
Sebastian Lindemeier 7e120081c1 Refactor Day04 min instruction length loop for readability and efficiency 2026-12-04 07:55:28 +01:00
Sebastian Lindemeier e643951d0e Add 2026 Day04 solution and tests 2026-12-04 07:44:22 +01:00
Sebastian Lindemeier 20c08e9ce6 Refactor Day03 square counting to use corner delegates 2026-12-03 16:39:04 +01:00
Sebastian Lindemeier ed104cf1a6 Refactor Day03 square counting to share logic 2026-12-03 16:19:43 +01:00
Sebastian Lindemeier 8efceb5a02 improve performance 10x by reducing redundant bound checks and optimizing corner generation 2026-12-03 14:47:29 +01:00
Sebastian Lindemeier 3dde3cbe22 Refactor Day02 input parsing to return char array 2026-12-03 11:28:39 +01:00
Sebastian Lindemeier 5fd9cc26d8 Refactor Day02 waypoint lookup and Day03 corner helper 2026-12-03 11:10:25 +01:00
Sebastian Lindemeier c5732e107f Refactor Day03 twisted square corner generation 2026-12-03 11:04:26 +01:00
Sebastian Lindemeier 6617f4a883 Simplified input parsing for 2026 day 3 2026-12-03 10:30:24 +01:00
Sebastian Lindemeier 35d9374c17 Refactor Day03 tree row helper naming 2026-12-03 09:58:39 +01:00
Sebastian Lindemeier c8c96f57bc Refactor Day03 for readability 2026-12-03 09:57:31 +01:00
Sebastian Lindemeier d637b1f0fa Refactor Day03 corner generation to yield results 2026-12-03 09:49:52 +01:00
Sebastian Lindemeier 2113f8f2f1 Refactor Day03 skewed square corner generation 2026-12-03 09:35:35 +01:00
Sebastian Lindemeier 3510234ed8 Implemented Day03 part1 and part2 for 2026 2026-12-03 09:27:39 +01:00
Sebastian Lindemeier b94ab07924 Fix Day02 travel distance calculation to require complete windows 2026-12-02 10:27:00 +01:00
Sebastian Lindemeier 9907908381 Add XML documentation for combinatorics methods in EnumerableExtensions 2026-12-02 10:25:50 +01:00
Sebastian Lindemeier fefdc59bd8 Refactor Day02 travel distance calculation to use SlidingWindow 2026-12-02 10:19:47 +01:00
Sebastian Lindemeier d22fd3cacb Refactor Day02 travel distance calculation to reuse common logic for part1 2026-12-02 10:09:13 +01:00
Sebastian Lindemeier 0b712b18e4 Implemented Day02 part1 and part2 for 2026 2026-12-02 10:02:36 +01:00
Sebastian Lindemeier dd9209f2d0 Refactor Day01 to use CountBy for ID counting 2026-12-01 09:53:47 +01:00
Sebastian Lindemeier 2f05acf3ca Implemented Day01 part1 and part2 for 2026 2026-12-01 09:22:30 +01:00
Sebastian Lindemeier 5257e74029 Update projects to .NET 10 and remove AoC 2026 runner 2026-12-01 09:21:56 +01:00
Sebastian Lindemeier 132f8db999 Add AoC 2026 project templates 2026-11-30 15:24:00 +01:00
Buddhism8003 5e3bb81140 Added a sliding window extension for IEnumerable 2026-01-30 21:55:40 +01:00
Sebastian Lindemeier 554ab0557e Add Manhattan distance methods and CoordinateNd class for n-dimensionality support 2025-12-16 08:55:13 +01:00
Sebastian Lindemeier d878ab186e Refactor Permutations in EnumerableExtensions by extracting RotateIndices method to simplify and reuse index rotation logic 2025-12-16 08:00:03 +01:00
Sebastian Lindemeier 9d4051ece1 Refactor Permutations in EnumerableExtensions, add PermutationsWithRepeats method, and update tests for improved validation and clarity 2025-12-16 07:56:20 +01:00
Sebastian Lindemeier 0665713725 Add CombinationsWithRepeats method to EnumerableExtensions with corresponding tests 2025-12-15 13:45:21 +01:00
Sebastian Lindemeier 149977d02f Refactor Permutations method in EnumerableExtensions to remove unnecessary logic and add validation for output count in tests 2025-12-15 11:54:40 +01:00
Sebastian Lindemeier acef1dd7d2 Add Permutations method to EnumerableExtensions with corresponding tests 2025-12-15 11:05:51 +01:00
Sebastian Lindemeier 56521d39d7 Refactor EnumerableExtensions to simplify combination generation by removing Range method and streamlining index logic 2025-12-15 10:44:38 +01:00
Sebastian Lindemeier ee061757a8 Refactor Day10 to simplify lamp parsing by removing redundant .Index() call and unnecessary LINQ chain 2025-12-15 10:28:06 +01:00
Sebastian Lindemeier 0359bacf47 Add subtraction and scalar multiplication operators to Coordinate and Coordinate3d 2025-12-15 10:21:43 +01:00
Sebastian Lindemeier ed3b577516 Refactor Day12 to simplify LINQ usage in GetMinTotalPresentArea by replacing .Select() with .Zip() 2025-12-15 10:21:31 +01:00
Buddhism8003 4a5eeb8cf0 added test project for AdventOfCode.Extensions 2025-12-14 16:26:21 +01:00
Buddhism8003 dc0d579697 switched the input arguments of teh downloader for better user experience 2025-12-14 16:07:47 +01:00
Buddhism8003 0b0f4eabb4 Added a Downloader for AoC puzzle inputs 2025-12-14 16:06:38 +01:00
Buddhism8003 e68be83627 replace '\' in filepaths with '/' 2025-12-14 15:02:19 +01:00
Buddhism8003 3888fd23a8 Used IntegerRange from HelperClasses in solutions for day 02 2025-12-14 14:57:31 +01:00
Buddhism8003 33eb7322a8 Added unit test project for HelperClasses and tests for IntegerRange.cs. Implemented IEnumerable on IntegerRange. 2025-12-14 14:45:13 +01:00
Sebastian Lindemeier bef54ff551 Introduce regex-based methods SolvePart1Regex and SolvePart2Regex in Day02 for another invalid ID detection 2025-12-12 20:37:31 +01:00
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