MCQ
Q.
The RE in which any number of 0?s is followed by any number of 1?s followed by any number of 2?s is?
Correct Answer: B
The order for the desired string is 012 and for any number of 0s we write 0* for any number of 1s we denote it by 1* and similarly for 2*.Thus 0*1*2*.