give string s reverse order character word sentence preserve whitespace initial word order Example 1input s Lets LeetCode contestoutput stel ekat edoCteeL tsetnocExample 2input s God DingOutput doG gniD constraints1 slength 5 104s contain printable ASCII characterss contain lead trail spacesthere word sall word s separate single space