LeetCode
Bold Words in String
Click
here
for an explanation.