Skip to content

Commit c33dc20

Browse files
committed
Description added successfully
1 parent 875102c commit c33dc20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

General Questions/Longest_Common_Prefix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#Longest Common Prefix in python
2+
#Implementation of python program to find the longest common prefix amongst the given list of strings.
3+
#If there is no common prefix then returning 0.
24

35
#define the function to evaluate the longest common prefix
46
def longestCommonPrefix(s):

0 commit comments

Comments
 (0)