Computer Science Fundamentals
Algorithms
Objective
Mar 06, 2013
Define for a context free language
L ≤ {0 ; 1} init (L) = {u/uv ε L for some v in {0,1}}
(in other words, init (L) is the set of prefixes of L)
Let L {w/w is noempty and has an equal number of 0’s and 1’s)
Then init (L) is
Detailed Explanation
Option b is right answer.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts