Calculating number of drops, which can remain after a rain on specified relief
Input: array of heights (integer) Output: volume of remain drops
e.g. Input: 3 2 4 1 2 Output: 2
To build project just start
./gradlew build
Go to build/docker folder and run script build-and-start.sh
to run project on your docker
Open http://localhost:8080/remain-drop-volume/ and put array of heights in the textbox