SAP Interview Question

Singleton Design Pattern, Fundamentals of Java , Couple of Questions related to design RestFul APIs. Jumped into coding questions a) Check whether integer is palindrome or not b) Return the max and min of arr of integers