Pregunta de entrevista de Ask Media Group

Split a string based on circular doubly-linked list