Google interview question

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