class Solution { #define SINGLE 1 #define MULTIP 2 public: bool isMatch(const char *s, const char *p) { if (s == NULL || p == NULL) return true; vector<pair<char, int> > pattern; int pos = 0; char ch = '
class Solution { #define SINGLE 1 #define MULTIP 2 public: bool isMatch(const char *s, const char *p) { if (s == NULL || p == NULL) return true; vector<pair<char, int> > pattern; int pos = 0; char ch = '