Skip to content

Commit

Permalink
Update CommonPrefix.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayanta-karmakar committed Mar 27, 2024
1 parent 1d6a985 commit 0becbbc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @author : jayantakarmakar
* @mailto : [email protected]
**/

public class CommonPrefix {
public static String longestCommonPrefix(String[] strs) {
if (strs == null || strs.length == 0) {
Expand Down

0 comments on commit 0becbbc

Please sign in to comment.