eClinicalWorks Interview Question

Reverse the string,garbage collection in 2nd round