Skip to content

Commit a7fb739

Browse files
committed
strings: add Wikipedia link in docstring for longest_common_prefix
1 parent cf6ef72 commit a7fb739

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

strings/longest_common_prefix.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ def longest_common_prefix(strs: list[str])->str:
22
"""
33
:type strs: List[str]
44
5+
URL:
6+
https://en.wikipedia.org/wiki/Longest_common_prefix
7+
58
Args:
69
strs (list[str]): A list of strings.
710

0 commit comments

Comments
 (0)