Consortia interview question

Reverse string and many more basic program in your familiar language