Use the algorithm described to remove direct left recursion from the following grammar:

S à aS | Sa | aAb

A à Aa | Ba | Ab

B à b

× How can I help you?