Question: . No. 1: Write regular expression for each of the following languages. Consider = {a , b} for these languages and use only those notations
. No. 1: Write regular expression for each of the following languages. Consider = {a , b} for these languages and use only those notations
(i) Language of all words which contain odd number of as and any number of bs (if any)
(ii) Language of all words that end with double letter:
(iii) Language of all words that start and end with different letters
(iv) Language of all words that do not contain double a in them somewhere
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
