Course · Section 11: Working With Arrays · Lecture 149: Simple Array Methods
Implement `isPalindromeArray(arr)` returning whether the array reads the same forwards and backwards, using two pointers.
+ 1 hidden test run on Submit.
Two pointers from both ends compare mirrored elements in O(n) time and O(1) space.
Run your code to see results.