Pergunta de entrevista da empresa eClinicalWorks

Reverse the string,garbage collection in 2nd round