Click here to see the full article post
What is the definition of an "abbreviation" in this case? I don't understand how "1ord" or "w1rd" are abbrevations of "word", using this definition of "abbrevation" :
I am afraid the 2nd solution is limited to the range of int. It will overflow when input is too long.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.