Klenty interview question

reverse the given string and basic coding questions