QuestionThe problem is that given an array of characters, the title says to construct a dictionary of them, and the construction rule is "abbreviation". An abbreviation is the length of the middle of the first and last letter plus its middle string (excluding the first and last letter), for exampleinternationalis abbreviated toi18n. The abbreviation of a string of length 2 is itself.There are quite a few pitfalls in this topic. For example, the string of length 1 is not mentioned, here you can check with the questioner, I was practicing on my own, so I assumed that he is also itself (and the f
...
继续阅读
(7)