Leetcode 10 regular-expression-matching

class Solution { public: bool isMatch(string s, string p) { int sl=s.size(), pl=p.size(); vector<vector<bool> > dp(sl+1, vector<bool>(pl+1, false)); dp[0][0]=true;
相关文章
相关标签/搜索