Anonymous Content interview question

String traversal