Exercise 1›:

Context-free description for {w∈{a,b}∗∣∣w∣a=∣w∣b  ∧  ∣w∣abba>0}\{ w \in \{a,b\}^* \mid |w|_a=|w|_b\;\wedge\;|w|_{abba}>0 \}
Give a context-free description for the set of words over {a,b}\{a,b\} with the same number of aa’s as number of bb’s, and with at least one occurrence of abbaabba.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to log in, register, or become a guest.