IIfa Tech interview question

Find Palindrome,reverse array,flex vs flexbox