The example helps nothing


  • 0
    B

    First of all, in the example, two words have the same length. There is no way to tell what you mean by "The last word". You think i know? i have a different convention than you regarding where to start counting.

    Also, it gives a very bad impression that the space is singular and it is in between 2 words..

    Third, is " " allowed to repeat?

    Lastly, there can be more words. What do you mean by the last word?

    Please replace the example... totally misleading


Log in to reply
 

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