A Java 8 solution for an interesting logical problem
Linux, Java 1.8.0_131, Intellij 2017.2.1, Maven
- Clone from git.
- Open in Intellij
- Enable processing annotations, because we are using lombok
- Add Lombok plugin
- Build the jar by invoking Build/Build Artifacts/Build
- Run the examples provided in example1.sh and example2.sh