目录

力扣720. 词典中最长的单词

力扣720. Longest Word in Dictionary(词典中最长的单词)

找到字典中最长的单词。

示例 1:

../posts/01_学习/87_LeetCode/0720_词典中最长的单词/img/0720-1-description.png

输入:words = ["w","wo","wor","worl","world"]
输出:"world"
解释:...

提示:

  • 1 <= words.length <= 1000
  • 1 <= words[i].length <= 30
  • words[i] 由小写英文字母组成