Available question text
Given a list of words and a string, wrap every substring that matches any word with ... , ensuring overlapping or adjacent matches are merged into single bold spans. The core challenge is finding all (possibly overlapping) occurrences and combining their intervals correctly before inserting tags.
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 758. Bold Words in String
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source