4W Interview Question

Reverse string, palindrome, prime number, pattern, sort array