Divide the number by greatest divisible powers of 2, 3 and 5, if the number becomes 1 then it is an ugly number otherwise not. Follows functional programming practices.
Compiled and ran from build server bloop
.
Dependencies must be compatable with jdk8 or less.
- bloop
- openjdk 8
- scala
- bloop-sbt
- docker-cli
- openjdk:8
Docker desktop must be installed and the application being called must be linux compatiple.
sudo ./install.sh -u
sudo ./install.sh -d
sudo ./install.sh -h