Cody

Problem 1129. Reverse the elements of an array

Created by HARISANKAR PS in Community

Reverse the order of elements in an array:

eg:

 input X  = [ 1 2 3 ; 
              4 5 6 ; 
              7 8 9 ]
 output Y = [ 9 8 7 ;
              6 5 4 ;
              3 2 1 ]

Solution Stats

49.57% Correct | 50.43% Incorrect
Last solution submitted on Jul 17, 2019

Solution Comments