Skip to content

Commit 19aa57a

Browse files
authored
Update Solution.c
1 parent 12f5dd1 commit 19aa57a

File tree

1 file changed

+0
-2
lines changed
  • solution/0000-0099/0014.Longest Common Prefix

1 file changed

+0
-2
lines changed

solution/0000-0099/0014.Longest Common Prefix/Solution.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
char* longestCommonPrefix(char** strs, int strsSize) {
2-
if (strsSize == 0)
3-
return "";
42
for (int i = 0; strs[0][i]; i++) {
53
for (int j = 1; j < strsSize; j++) {
64
if (strs[j][i] != strs[0][i]) {

0 commit comments

Comments
 (0)