Computer Sciences > Gate 2023 > Regular Language
Consider the following grammar:
S β> aSb|X
X β>aX|Xb|a|b
What can be said about the language generated by grammar?
S β> aSb|X
X β>aX|Xb|a|b
What can be said about the language generated by grammar?
Explanation
Correct : a
Similar Questions
What is the worst-case time complexity of insertion in an AVL tree?
Which operations on a binary search tree have O(h) complexity?
Compare search complexities of sorted array vs balanced BST.