Day 9 solution

As always, plenty of room for improvement, but I'm reasonably satisfied with the core implementation. I'm honestly not sure why the Distinct is needed in the GetBasinSize() result as it's supposed to not even add the point if the point is already in there, but it's late so I'll check that out later.
This commit is contained in:
2021-12-09 00:40:02 -06:00
parent 0dd261b964
commit 2c224483b4
4 changed files with 233 additions and 1 deletions

View File

@ -39,6 +39,9 @@
<None Update="inputs\08.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="inputs\09.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>