Labcorp Interview Question

Coding - palindrome and find second largest element in array