Implement function str_replace that replaces all instances of substring to other in a passed string. In just C. On paper.
Sigiloso
interviewer did not give a clue on intended "regular use case" for the funciton to chose implementation; was even surprised that different expectations on input would lead to several different ones.