University of Waterloo Interview Question: Reverse the word sequence in ... | Glassdoor

Interview Question

Software Engineer Interview Waterloo, ON (Canada)

Reverse the word sequence in a string

Answer

Interview Answer

1 Answer

0

reverse the character sequence of the whole string first, then reverse each word for another round.

Interview Candidate on Oct 13, 2010

Add Answers or Comments

To comment on this, Sign In or Sign Up.