Exercise ‹31›:

Unambiguous CFG for {w∈{a,b}∗∣2∣w∣a=∣w∣b}\{ w \in \{a,b\}^* \mid 2|w|_a=|w|_b \}
Write an unambiguous CFG generating the words over {a,b}\{a,b\} such that the number of occurrences of bb is twice as much as the number of occurrences of aa.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to log in, register, or become a guest.