Add Day 05 solution
This commit is contained in:
+2
-2
@@ -95,8 +95,8 @@ public class Day04 : IPuzzleSolver<long>
|
||||
int lessThan)
|
||||
{
|
||||
var coordinatesWithLess = coordinatesWithNeighbours
|
||||
.Where(entry => entry.neighbours.Count() < lessThan)
|
||||
.Select(entry => entry.coordinate);
|
||||
.Where(roll => roll.neighbours.Length < lessThan)
|
||||
.Select(roll => roll.coordinate);
|
||||
return coordinatesWithLess;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user