728x90 Regular Expression Matching1 [LeetCode] 10. Regular Expression Matching Given an input string s and a pattern p, implement regular expression matching with support for ' . ' and ' * ' where: ' . ' Matches any single character. ' * ' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). Example 1: Input: s = "aa", p = "a" Output: false Explanation: "a" does not match the entire string "aa". Example 2: Inpu.. 2023. 10. 18. 이전 1 다음 728x90