Solution Review: Palindromic Arrays
This lesson explains the solution for the palindromic arrays exercise.
We'll cover the following
There are several ways to go about this challenge. You can choose any one of them depending on your preference.
Solution 1: Indexing
Since newarray1
and newarray2
had already been created, we could replace their values by indexing:
Get hands-on with 1400+ tech skills courses.