#12. reverse3
reverse3
Background
Description
Given an array of ints length 3, return a new array with the elements in reverse order, so {1, 2, 3} becomes {3, 2, 1}.
Format
Input
Output
Samples
[1 2 3]
[3, 2, 1]
[5 11 9]
[9, 11, 5]
[7 0 0]
[0, 0, 7]
Limitation
1s, 1024KiB for each test case.