Solving Leet code 14. Longest Common Prefix Day149
Today #Day149 of #365DaysOfCode, I am Solving Leet code 14. Longest Common Prefix.
Question
Write a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string "".
Example 1:
Inp...
dheerajy1.hashnode.dev2 min read