RPM Technologies (Canada) Interview Question: Reverse each word in the a st... | Glassdoor.ca

Interview Question

Junior Java Developer Interview Toronto, ON

Reverse each word in the a string, but do not change the

  ordering.
Answer

Interview Answer

1 Answer

0

Split words based on blank-space character. Iterate over and reverse each. Rebuild original sentence with stringbuilder

Interview Candidate on Jun. 12, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.