space O(1), speed O(n)

reverse word & reverse sentence in place.

This question is too old.

請您先登陸,再發跟帖!