Hackerrank – Birthday Cake Candles

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution We find the highest candles. Then we find count of candles with max height. I created solution in: Scala Java JavaScript All solutions are also available on my GitHub profile. Scala

Java

Javascript

Hackerrank – Taum and B’day

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution The hint is given in problem description. One should compare if it is better to buy presents without changing colors or with changing colors. I created solution in: Scala Java JavaScript All solutions are also available on my GitHub profile. […]

Hackerrank – Sequence Equation

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution I have given count of numbers n. I will iterate over all numbers from 1 to n I will find index of each iterated number in all elements and then index of index within all elements I created solution in: […]

Hackerrank – Priyanka and Toys

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution I created solution in: Scala Java JavaScript All solutions are also available on my GitHub profile. Scala

Java

Javascript

Hackerrank – Consecutive Subsequences

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution http://stackoverflow.com/questions/24518682/count-subsequences-divisible-by-k I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #036 – Double-base palindromes

Hackerrank – Problem description The problem description – Hackerrank. Solution Steps are given in the problem description. I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #022 – Name scores

Hackerrank – Problem description The problem description – Hackerrank. Solution Steps are given in the problem description. I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #020 – Factorial digit sum

Hackerrank – Problem description The problem description Hackerrank. Solution The catch is to have a support for big numbers operations in your progamming language. Do a factorial and sum the numbers. I created solution in: Ruby All solutions are also available on my GitHub profile. Ruby

Hackerrank – Project Euler+ #019 – Counting Sundays

Hackerrank – Problem description The problem description – Hackerrank. Solution The implementation is specific based on a programming language – the features in libraries for date manipulation. I found out from given date, what is the next sunday. Then I added 7 days to the sunday’s date, to have next sunday. I was cautioned for […]