- Create a function that divides an array of numbers into odd and even.
Input:
[0, 1, 2, 3, 4, 5]
Output:
{ odd: [0, 2, 4], even: [1, 3, 5] }
- Create a function that verifies how many times a number is repeated within an array.
Input:
[0, 1, 1, 2, 3, 4, 5, 2, 3, 5, 7, 8, 6]
Output:
Number X is repeated Y times
- Create a function that displays the missing value of an array.
Input:
[0, 1, 2, 3, 4, 5, 7]
Output:
The number 6 is missing