Skip to content

Commit f7e3deb

Browse files
committed
docs: add a description of the solution to lc problem: No.0720
No.0720.Longest Word in Dictionary
1 parent ec3d180 commit f7e3deb

File tree

1 file changed

+2
-0
lines changed
  • solution/0700-0799/0720.Longest Word in Dictionary

1 file changed

+2
-0
lines changed

solution/0700-0799/0720.Longest Word in Dictionary/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242

4343
<!-- 这里可写通用的实现逻辑 -->
4444

45+
优先返回符合条件、**长度最长且字典序最小**的单词,那么可以进行依照该规则,先对 `words` 进行排序,免去多个结果之间的比较。
46+
4547
<!-- tabs:start -->
4648

4749
### **Python3**

0 commit comments

Comments
 (0)