Pregunta de entrevista de Speechify

The question concerned parsing nodes in an HTML document, given specific rules.