Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 03.Strings/1.Easy/02.Reverse_words_in_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A word is defined as a sequence of non-space characters. The words in s will be
Return a string of the words in reverse order concatenated by a single space.
Note that s may contain leading or trailing spaces or multiple spaces between two words. The returned string should only have a single space separating the words. Do not include any extra spaces.

Example:
Example:juygfigigg ufuf
Input: s = "the sky is blue"
Output: "blue is sky the"

Expand Down