Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lfa:lab10-cfl-closures [2020/12/07 18:25] lfa |
lfa:lab10-cfl-closures [2020/12/08 09:12] (current) lfa |
||
---|---|---|---|
Line 30: | Line 30: | ||
//2.5.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n \ and\ |w|\ \%\ 3\ =\ 0 \} $ \\ | //2.5.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n \ and\ |w|\ \%\ 3\ =\ 0 \} $ \\ | ||
- | //2.6.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n \ and\ |w|\ \%\ 3\ =\ 0 \} $ \\ | + | //2.6.// $ L = \{w \in \{a, b\}^*\ |\ \#_{a}(w)=\#_{b}(w) \ and\ no\ b\ should\ be\ followed\ by\ two\ a \} $ \\ |
//2.7.// Give an example of two context-free languages whose intersection is context-free. | //2.7.// Give an example of two context-free languages whose intersection is context-free. |