Skip to content

Commit 16f5507

Browse files
authored
Update 44 Wildcard Matching (Important).java
1 parent 85637de commit 16f5507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dynamic Programming Quesrion/44 Wildcard Matching (Important).java

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public boolean isMatch(String s, String p) {
5050
//Dp Initialize:
5151
dp[0][0] = true;
5252

53-
//Preprocessing functon for this kinds solution: s = "aab" , p ="c*aab"
53+
//Preprocessing functon for this kinds solution:
5454
for(int k = 1; k <= p.length(); k++){
5555
if(p.charAt(k - 1) == '*'){
5656
dp[0][k] = dp[0][k - 1];

0 commit comments

Comments
 (0)