WNS-Vuram Interview Question

insert an element in string