Skip to content

Commit 11773e3

Browse files
author
Ihssaneabousshal
committed
Runtime: 4 ms (Top 79.86%) | Memory: 42.3 MB (Top 82.62%)
1 parent 8ba7f71 commit 11773e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/algorithms/R/Regular Expression Matching/Regular Expression Matching.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Runtime: 5 ms (Top 57.68%) | Memory: 42.9 MB (Top 39.28%)
1+
// Runtime: 4 ms (Top 79.86%) | Memory: 42.3 MB (Top 82.62%)
22
class Solution {
33
public boolean isMatch(String s, String p) {
44
if (p == null || p.length() == 0) return (s == null || s.length() == 0);

0 commit comments

Comments
 (0)