Cognizant interview question

questions about strings, dynamic programming and algorithms complexity