We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 875102c commit c33dc20Copy full SHA for c33dc20
General Questions/Longest_Common_Prefix.py
@@ -1,4 +1,6 @@
1
#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.
4
5
#define the function to evaluate the longest common prefix
6
def longestCommonPrefix(s):
0 commit comments