A Java 19 implementation of the solutions from Guy Steele's talk "Four Solutions to a Trivial Problem" (https://www.youtube.com/watch?v=ftcIcn8AmSY)
There is a landscape with hills and pits which have similar square shape. Each position in this landscape has a specified height.
When rain happens, landscape is filled with water. Water is collected inside pits only.
This project provides all three solution mentioned in the talk.
mvn clean install