Verint Interview Question

reverse string function,palindrome