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

49.25% Correct | 50.75% Incorrect
Last Solution submitted on Feb 19, 2020

Problem Comments

Solution Comments