Commit 5b4f2ace authored by Rafael Avaria Gutierrez's avatar Rafael Avaria Gutierrez

Merge branch 'MissingNumberJs' into 'master'

Problem to move my solution

See merge request !3
parents cebc87ca e0e9ea92
...@@ -10,6 +10,7 @@ function getFrecuency(arr) { ...@@ -10,6 +10,7 @@ function getFrecuency(arr) {
}, new Map()); }, new Map());
} }
// Complete the missingNumbers function below. // Complete the missingNumbers function below.
function missingNumbers(arr, brr) { function missingNumbers(arr, brr) {
const result = []; const result = [];
...@@ -25,4 +26,4 @@ function missingNumbers(arr, brr) { ...@@ -25,4 +26,4 @@ function missingNumbers(arr, brr) {
} }
} }
return result.sort(function(a, b) { return a - b; }); return result.sort(function(a, b) { return a - b; });
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment