...

/

Exercise: Palindromic Arrays

Exercise: Palindromic Arrays

Let's try to create an array where the elements make a palindromic sequence.

Problem Statement

A palindrome is a pattern which is symmetrical around a center point. Here’s an example:

aabbcbbaa

As we can see, there is a symmetrical pattern around c. We can do the same thing with ...