Undertone interview question

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