Google Interview Question

How to reverse a string? What does this code do? Tell me about this group project on resume.