Pergunta de entrevista da empresa Microsoft

Rotate a matrix by 90 degree in clockwise direction. Program to determine whether a given string is Palindrome