Hackerrank – Service Lane

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

Solution
Find minimum in given array from index i to j.

I created solution in 4 languages:

All solutions are also available on my GitHub.

Scala

Java

JavaScript

Ruby