submit a .regex file with a regular expression defining the given language. you
ID: 3595010 • Letter: S
Question
submit a .regex file with a regular expression defining the given language.
you can test it using the given link (remember to select the regex button, and erase the code in the screen before starting)
this is NOT for a dfa.
Explanation / Answer
so basically we want a regular expression which has 3rd last and 5th last symbol same
((0|1)*0(0|1)0(0|1)(0|1) | (0|1)*1(0|1)1(0|1)(0|1))
Please note by definition of this language it needs to have atleast 5 characer.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.