Anonymous Content interview question

Array and string based coding