Pergunta de entrevista da empresa Gusto

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

Resposta da entrevista

Sigiloso

18 de dez. de 2022

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