Hackerrank – Missing Numbers

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

Solution
Calculate count of every number in array A and B. Check every number count from B if it is in the array A or its count is lower than the count of the number in the array A.

I created solution in:

All solutions are also available on my GitHub.

Java

JavaScript

Scala

Ruby