palindrom number & container with most water(time limit exceeded)