- Write a function that receives two slices of int as arguments and returns a new one with the result of alternating the values of each in reverse order.
Write a function that receives two slices of int as arguments and returns a new one with the result of alternating the values of each in reverse order.
- The input slices may be of different lengths.
- The new slice should contain the elements of the larger slice first and then the elements of the smaller slice.
- If the slices are of equal length, the new slice should contain the elements of the first slice first and then the elements of the second slice.