filmov
tv
LeetCode 151: Reverse Words of a String - Python Solution

Показать описание
Intuitively learn LeetCode solutions
This solution strips extra spaces, then creates an array of words, which is reversed and re-assembled into a string.
#leetcode #strings #arrays
This solution strips extra spaces, then creates an array of words, which is reversed and re-assembled into a string.
#leetcode #strings #arrays