Challenge 1 : Find if the Array is a Palindrome
In this lesson, you are required to find if the array is a palindrome.
We'll cover the following
Problem Statement
Write a function palindrome
that takes an integer array and returns true if the array is a palindrome else it returns false.
Note: Palindrome is a word, phrase, or sequence that reads the same backwards as forwards
The following illustration explains the concept:
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.