Pregunta de entrevista de Gusto

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

Respuesta de la entrevista

Anónimo

18 dic 2022

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