Publicis Sapient interview question

Programming questions about arrays, characters.