GATEverse
← GATE CSE 1996

Q2.9

MCQMarks unknown

Define a context free languages L∈{0,1}∗L \in \{0, 1\}^*, init(L)={u∣uv∈L\text{init} (L) = \{u \mid uv \in L for some vv in {0,1}∗}\{0, 1\}^*\} ( in other words, init(L)\text{init}(L) is the set of prefixes of LL) Let L = \{w \mid w \text{ is nonempty and has an equal number of 0’sand’s and 1’s}\} Then init(L)\text{init} (L) is:

Sign in to save attempts.

Loading…