Finish the method definition below.
Given an array of numbers arr
, the method odd_indexes
should return an array of indexes of odd numbers in arr
.
Note that you don't need to return the values. You need to return index
of the odd values as you can see in
the "Expected Output".