Publicis Sapient interview question

Find a Palindrome substring DSA question