Pergunta de entrevista da empresa Undertone

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