I'm trying to give regular expressions for the following languages {a, b}
What does w| and w|w mean?
For the first question, I have (b(a+b))*, but I'm lost on the second.
I'm trying to give regular expressions for the following languages {a, b}
What does w| and w|w mean?
For the first question, I have (b(a+b))*, but I'm lost on the second.
Copyright © 2021 JogjaFile Inc.

Hint for the second question: What are the shortest strings that satisfy the given condition?