Hackerrank – Utopian Tree

Problem Statement A description of the problem can be found on Hackerrank. Solution Make a height and initialize its value as 1. For each input number: if it is even double the height if it odd add 1 to height. I created solution in: Java JavaScript Scala Ruby All solutions are also available on my […]

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: Java JavaScript Scala Ruby All solutions are also available on my GitHub. Java

JavaScript

Scala

Ruby