Search
⌘K

Leetcode 1410. HTML Entity Parser

Parse a string and replace the predefined HTML entities (", ', &, >, <, ⁄) with their corresponding characters. Ensure only exact entity tokens are substituted (unknown sequences like &ambassador; remain unchanged); input length ≤ 1e5.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.