Advertisement
absolute100

Untitled

Sep 23rd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. - regex + wildcard: regex: s: aa…..ab, p: a*…a*, wildcard: ?
  2. - extend: wildcard worst case: https://www.quora.com/How-do-I-solve-the-wildcard-matching-problem-in-Java
  3.  
  4. - s: abcd, p: *e*f*g*h? abcd => swallow e
  5.  
  6. - http://n00tc0d3r.blogspot.com/2013/05/wildcard-matching.html?
  7. - regular expression worst case
  8. - http://articles.leetcode.com/regular-expression-matching/
  9. - recursion worst case: time: O(2^n), space: O(n): s: aa…..ab, p: a*...a*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement