Alex Rivera | Logout

What does "in-place" mean?

Asked 2010-05-06T09:02:35.983
31

Reverse words in a string (words are separated by one or more spaces). Now do it in-place.

What does in-place mean?

Edit
Report

1 Answer

7

You should change the content of the original string to the reverse without using a temporary storage variable to hold the string.

answered 2010-05-06T09:05:14.180

Your Answer