Meditab Software interview question

Prime number Pattern example Palindrome