0 votes 0 votes I think below is CFL, we need two copies but answer given is DCFL..please help for below lang. L= {a bn an | n>0} U {aa bk a2k | k>0 } cse23 asked Dec 7, 2016 • edited Dec 7, 2016 by Prashant. cse23 446 views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments cse23 commented Dec 7, 2016 reply Follow Share @anirudh i did same but finally we need two final states rytt?? 0 votes 0 votes mohit chawla commented Dec 7, 2016 reply Follow Share for DCFL, the only condition is that it should be unambiguous and no. of a's making in this example making it unambiguous. therefor it is DCFL but @cse23 from where have you read that DCFL can not contain more than one final state? I am not aware of this condition! 0 votes 0 votes cse23 commented Dec 7, 2016 reply Follow Share ok what I thought that we need two copies of PDA for this. But fine we can proceed with one PDA only....so it is DCFL..got it:) 0 votes 0 votes Please log in or register to add a comment.