ftalm
Tuesday, October 20, 2015
[leetcode] Regular Expression Matching
input: string, pattern
当pattern下一个字母不是'*'的时候.. 对比string当前字母和pattern当前字母,然后两个string recursion到下一个字母
当下一个字母是'*'的时候..用while loop 去试能match的各种状况
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment