Rakuten Interview Question

Java program reverse, palindrome array