@Amitava: I think test cases 4 and 6 are incorrect. Could you please verify the same?
@Amitava: please ignore my previous comment. Cheers.
Cheers
Neighbors are more than adjacents. The first and last elements are considered adjacent. Thus [ABAABA] is not a spindrome as it becomes ...AABAABAA...
However [ABA] is a spindrome even though it also becomes ...AABAABAA...
2514 Solvers
243 Solvers
Sort numbers by outside digits
115 Solvers
Compute a dot product of two vectors x and y
645 Solvers
Find out missing number from a vector of 9 elements
207 Solvers