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
相關文章
相關標籤/搜索