Cody

Problem 1451. Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length).

For example:

 x = [1 2 3 3 2 1] is symmetric
 x = [1 2 3 4 3 2 1] is symmetric as well!
 x = [-1 -2 -3 3 2 1] is not symmetric

Solution Stats

50.25% Correct | 49.75% Incorrect
Last solution submitted on Aug 19, 2019

Problem Comments

Solution Comments