From 8a404b07ef6c50ea60cd10070cbdc67a4cc4608b Mon Sep 17 00:00:00 2001 From: Christopher Bohn <bohn@unl.edu> Date: Wed, 14 Dec 2022 09:18:32 -0600 Subject: [PATCH] Completed Year 2022 Day 14 --- 2022/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/2022/README.md b/2022/README.md index 7520a7a..5d69760 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) -- GitLab