I need help answering this question please Find a regular la
I need help answering this question please.
Find a regular language L and a non-regular subset S of L.Solution
Consider an example of a languge which consists of all a and b.
L={ab}* L is regular.
Consider subset S={a^nb^n|n belongs to N} N is some constant.
The subset is is a non regular subset.
Thus S is non regualr subset of L.
