Hackerrank – Find Digits

Problem Statement
A description of the problem can be found on Hackerrank.

Solution
Count all digits if the digit is greatest than 0 and if the input is divisible by digit.

I created solution in:

All solutions are also available on my GitHub.

Java

JavaScript

Scala

Ruby