public class Solution { public boolean match(char[] str, char[] pattern) { if(str==null||pattern==null)return false; int s=0,p=0; return matchP(str,pattern,s,p); //看模式第二个是否是* } public boolean matchP(char[] str, char[] pattern, int s, int p){ if...