LeetCode Question · Jun 2022

Amazon | Onsite | HTML Preprocessor

3 upvotes 592 views 5 replies

Question Details

Create a valid HTML from a Python-like patterned text: Input: "tag:html tag:div Leet tag:span code tag:span .com" Expected Output: "<html><div>Leet<span>code</span><span>.com</span></div></html>" Each line is either a tag or a text Lines that start w…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

General Experience