527. Word Abbreviation

2018-06-12  本文已影响0人  Nancyberry

https://leetcode.com/problems/word-abbreviation/description/
Two words are only eligible to have the same abbreviation if they have the same first letter, last letter, and length. Let's group each word based on these properties, and then sort out the conflicts.

https://leetcode.com/problems/word-abbreviation/solution/

上一篇下一篇

猜你喜欢

热点阅读