Skip to content

Commit 6537533

Browse files
authored
Update 几道常见的子符串算法题.md
1 parent a128881 commit 6537533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dataStructures-algorithms/几道常见的子符串算法题.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public class Main {
459459
return 0;
460460
}
461461
}
462-
return flag == 1 ? res : -res;
462+
return flag != 2 ? res : -res;
463463

464464
}
465465

0 commit comments

Comments
 (0)