Pergunta de entrevista da empresa Zynga

2. write whole code in C to replace occurence of a string by another, in an input string

Resposta da entrevista

Sigiloso

23 de jun. de 2019

we can compute the size of the resultant string after going through a pass and getting the count of occurences of the match string. then allocate memory and copy to it.