Anonymous interview question

Array and string and data structure and algorithm