Hackerrank – Project Euler+ #017 – Number to words

Hackerrank – Problem description The problem description – Hackerrank. Solution For detailed informations look at the implementation. I created basic number to word translations. The I find out how many times is a given number present in basic translations. E.g. 12 324 is 12 x 1000, than “twelve thousand”. The rest is without 12 000, […]

Hackerrank – Project Euler+ #016 – Power digit sum

Hackerrank – Problem description The problem description – Hackerrank. Solution The catch is to use a feature of chosen programming language, which allows us operation with big numbers (e. g. BigInteger in Java) I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #015 – Lattice paths

Hackerrank – Problem description The problem description – Hackerrank. Solution The solution is based on this article. I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #013 – Large sum

Hackerrank – Problem description The problem description – Hackerrank. Solution We need to sum all given numbers. The catch is to use a feature of chosen programming language, which allows us operation with big numbers (e. g. BigInteger in Java) I created solution in: Java All solutions are also available on my GitHub profile. Java […]

Hackerrank – Project Euler+ #011 – Largest product in a grid

Hackerrank – Problem description The problem description – Hackerrank. Solution We have to calculate products of number foursomes for all directions in a grid and take the greatest product value. I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #010 – Summation of primes

Hackerrank – Problem description The problem description – Hackerrank. Solution First, I created a list of all prime numbers from 2 to 106 (upper constraint). I used Sieve of Eratosthenes algorithm. Then, I sum each element from a subset of prime numbers gained from test case. I created solution in: Java All solutions are also […]

Hackerrank – Project Euler+ #009 – Special Pythagorean triplet

Hackerrank – Problem description The problem description – Hackerrank. Solution I found the solution on StackOverflow. One could use the Wikipedia as a source. I created solution in: Java All solutions are also available on my GitHub profile. Java

Hackerrank – Project Euler+ #008 – Largest product in a series

Hackerrank – Problem description The problem description – Hackerrank. Solution I took k following numbers and I calculate a product of these k numbers. Compare the product with actual maximum. Print the maximum if there are no more k following numbers. I created solution in: Java All solutions are also available on my GitHub profile. […]