Hackerrank – Intro to Tutorial Challenges

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

Solution
Check all array elements if one of them is equal to required value. Then print its index to the output.

I created solution in:

All solutions are also available on my GitHub.

Java

JavaScript

Scala

Ruby