EFI interview question

reverse a string