Pregunta de entrevista de Apple

Asked LC medium problems. Problems were not difficult, even without preparation--all related to string manipulation or array manipulation.