Bloomberg L.P.

www.bloomberg.com
Employer Engaged

Interview Question

Software Engineer Intern Interview(Student Candidate) New York, NY

How to reverse a string

Answer

Interview Answer

1 Answer

1

using two pointers, and the first pointing to the beginning, and the other pointing to the end, and both move to the middle, and do the swapping in the meantime.

Interview Candidate on Jan 31, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.