Available question text
Validate whether a string is a single correctly wrapped XML-like code snippet by parsing tags, CDATA blocks, and text to ensure tags are properly nested and closed. This requires checking tag-name rules (1–9 uppercase letters), handling <![CDATA[...]]> blocks as raw text, and detecting malformed or unmatched '<'/'>' and start/end tags (typically via a stack-based nesting check).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 591. Tag Validator
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source