Pregunta de entrevista de Undertone

Write a code to find the longest repeating sequence, reverse a string , Palindrome, Join Queries .