正则表达式算法实现

class Solution { public: bool isMatch(const char *s, const char *p) { if(*s == '\0'){ if(*p == '\0') return true; if(*p != '*') return false; } if(*
相关文章
相关标签/搜索