Leetcode 10. 正则表达式匹配

压根没想到用dp 参考博客:http://blog.csdn.net/gatieme/article/details/51049244web class Solution { public: bool isMatch(string s, string p) {//p是有*.的 bool dp[1005][1005]; memset(dp, true, siz
相关文章
相关标签/搜索