Show the regular expression of the following description:
strings containing equal number of substrings "01" and "10". For example, 101 has exactly one "10" and one "01" substring.
/0*1*0|1*0*1/
Subscribe to:
Post Comments (Atom)
DFS the life without backtracking
No comments:
Post a Comment