Google interview question

Divide and conquer questions, exceptions, strings