摘要: 10. 正则表达式匹配 1.动态规划 public boolean isMatch(String s, String p) { char[] cs = s.toCharArray(); char[] cp = p.toCharArray(); // dp[i][j]:表示s的前i个字符,p的前j个字 阅读全文
posted @ 2023-03-17 10:44 Chenyi_li 阅读(36) 评论(0) 推荐(0)