Java based command line app to build castles on valleys and peaks.
- JUnit4
- Java 1.8 Runtime
javac -c Main.java
Use - main [csv integer array]
eg. main [1,5,2,4,6,8,1]
- Castles are not built on the final space. If this is necessary, just add an additional castle to the total as a castle would always be built on the last space.