Skip to content

Commit 60b2f82

Browse files
refactor 10
1 parent 7d0d7b7 commit 60b2f82

File tree

1 file changed

+0
-23
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-23
lines changed

src/main/java/com/fishercoder/solutions/_10.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 10. Regular Expression Matching
5-
*
6-
* Implement regular expression matching with support for '.' and '*'.
7-
*
8-
* '.' Matches any single character.
9-
* '*' Matches zero or more of the preceding element.
10-
*
11-
* The matching should cover the entire input string (not partial).
12-
*
13-
* The function prototype should be:
14-
* bool isMatch(const char *s, const char *p)
15-
*
16-
* Some examples:
17-
* isMatch("aa","a") → false
18-
* isMatch("aa","aa") → true
19-
* isMatch("aaa","aa") → false
20-
* isMatch("aa", "a*") → true
21-
* isMatch("aa", ".*") → true
22-
* isMatch("ab", ".*") → true
23-
* isMatch("aab", "c*a*b") → true
24-
*/
25-
263
public class _10 {
274

285
public static class Solution1 {

0 commit comments

Comments
 (0)