Vague Description


  • 0
    S

    According to the test cases, there have to be at least one spaces between two words, but this is not mentioned in the description, which is confusing.


  • 4
    S

    I would say it is more like a common sense. If there is no space between two words, how could we consider them as two separate words instead of one?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.