University of Waterloo

  www.uwaterloo.ca
  www.uwaterloo.ca

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 Question, Sign In with Facebook or Sign Up