Capgemini Interview Question

Then he gave me a basic coding problem to reverse a string.