Regular Expression Matching ('.' and '*')

char isMatch(char* s, char* p) { int m = strlen(s); int n = strlen(p); char **dp = malloc((m+1) * sizeof(char*)); for(int i = 0; i <= m; i ++){ dp[i] = malloc((n+1) * sizeof(char)); for(int j = 0; j <
相關文章
相關標籤/搜索