1, If p.charAt(j) == s.charAt(i) : dp[i][j] = dp[i-1][j-1]; 2, If p.charAt(j) == '.' : dp[i][j] = dp[i-1][j-1]; 3, If p.charAt(j) == '*': here are two sub conditions ...
1. We check the first characters matched by s\[0\] == p\[0\] or p\[0\] == '.' 2. If the second character is \*, then there are two cases 1. We ignore the whether first character matches or not, we ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する