Speechify Interview Question

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