【Leetcode】44. Wildcard Matching

class Solution(object): def isMatch(self, s, p): """ '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). use dp[i][j] means pattern pat
相关文章
相关标签/搜索