Bloomberg Interview Question

Reverse a string in place and also remove spaces, so for example "Software Eng " would become "tfoSgnE"

Interview Answers

Anonymous

Nov 12, 2010

I meant "Soft Eng" would become "tfoSgnE"

Anonymous

Jan 17, 2013

Main concepts are to split, reverse, and then append. We can do them using libraries and without them.