Files
2018-11-21 07:36:08 -05:00

19 lines
280 B
Python

# YouTube Link:
"""
Given a string with a set of words separated by whitespace,
reverse the order of the words.
Example:
Initial String:
this is a string reversal problem
Resulting String:
problem reversal string a is this
"""
def reverse_words(s):
pass