diff --git a/2022/README.md b/2022/README.md index 7520a7a3f97864ebf46419b6c2fa5f43ac9d399b..5d69760de14156ffc973c835395eccb03b980bbf 100644 --- a/2022/README.md +++ b/2022/README.md @@ -566,5 +566,26 @@ Instead, we'll have to pretend there's an infinitely-long floor. ## Day 15 +- [The problem](https://adventofcode.com/2022/day/14) +- [The solution](src/main/java/edu/unl/cse/bohn/year2022/Day14.java) + +### Part 1 + +The subproblems are +- Determine which locations are blocked +- Determine where a unit of sand moves to + - Can it move? + - Down, diagonally left, diagonally right? +- Determine the final status of a unit of sand + - Stationary, blocking a location + - Falling forever + +### Part 2 + +Same subproblems, except that falling forever isn't an option. +Instead, we'll have to pretend there's an infinitely-long floor. + +## Day 15 + (coming soon)