Domanda di colloquio di Gusto

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

Risposta di colloquio

Anonimo

18 dic 2022

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