H&M interview question

Java based questions .oops concepts... tricky question situation based questions coding questions on second largest element and palindrome string.. DSA