Gusto interview question

Input: string and array of substrings Output: substrings in the string and add bold html tags around them

Interview Answer

Anonymous

18 Dec 2022

Tricky part is overlapping substring in the initial string. These should be added inside one bold tag.