I thought I wrote the correct function but I keep getting this result:
It keeps returning an empty array list when its supposed to have two arrays within one array. One array containing all even numbers and the second array containing all odd numbers. What am I doing wrong?
The link to my code: