Byte beat Kong game development topics

A long time without playing code, a la carte

There are two questions xjb wrote yesterday, does not analyze the direct trains run, write about now under recall

Implement comprises a function to match '' and '*' regular expression. Mode character '.' Represents any one character '*' indicates that the preceding character can appear any number of times (including 0 time). In this problem, the match is a whole pattern matches all characters of the string. For example, the string "aaa" mode and "aa" and "ab * ac * a" match, but the "aa.a" and "ab * a" do not match. Such an offer is probably to prove safety topics

 

There is also a Lianliankan eliminate

 

Guess you like

Origin www.cnblogs.com/BobHuang/p/11116323.html