Cemtics Interview Question

basic coding questions reverse string , lC-303