Hackerrank – Beautiful Days at the Movies

Hackerrank – Problem Statement

A description of the problem can be found on Hackerrank.

Solution

For each number in the given interval between i and j count the numbers with valid given condition.

I created solution in:

All solutions are also available on my GitHub.

Java

JavaScript

Scala

Ruby

Leave a Reply

Your email address will not be published. Required fields are marked *