Daffodil Software interview question

very simple questions like reverse a string