1 votes 1 votes For the alphabet Σ = {0, 1}, construct a DFA for the language L = { w ∈ Σ* | w contains the same number of instances of the substring 01 and the substring 10 }. Note that substrings are allowed to overlap, so 010 ∈ L and 10101 ∈ L. bj96 asked Apr 7, 2018 bj96 683 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes It is correct i guess Hitesh answered Apr 7, 2018 • edited Apr 11, 2018 by Hitesh Hitesh comment Share Follow See 1 comment See all 1 1 comment reply Sumeet Singh commented Apr 9, 2018 reply Follow Share It does no accept the string 0 or 1. 0 votes 0 votes Please log in or register to add a comment.