The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
44 views
Find a context-free grammar for the following language:

    L = { a^m b^m c^k | k <= m }

(in order to show that the language is context-free)
asked in Theory of Computation by (7 points) | 44 views

1 Answer

+2 votes
The language is NOT CFL. And so, CFG can not be written for this language.
answered by Boss (17.5k points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

37,976 questions
45,472 answers
131,384 comments
48,426 users