comparing with a constant(5), therefore it is RL

The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

0 votes

+3

What i am saying,

here you did not require to compare n,l and k

just you have to compare sum of (n,l and k) with 5

5 is constant not a variable, if it is a variable then you require infinite amount of memory.

But for a constant you did not require infinite amount of memory, you just required finite amount of memory.

therefore it is RL

NFA for the Language

L={a

^{n}b^{l}a^{k}:n+l+k>50000000} is also a RL

- All categories
- General Aptitude 1.3k
- Engineering Mathematics 5.4k
- Digital Logic 2.1k
- Programming & DS 3.9k
- Algorithms 3.4k
- Theory of Computation 4.2k
- Compiler Design 1.6k
- Databases 3.1k
- CO & Architecture 2.7k
- Computer Networks 3.1k
- Non GATE 1.1k
- Others 1.4k
- Admissions 501
- Exam Queries 449
- Tier 1 Placement Questions 19
- Job Queries 62
- Projects 12

38,009 questions

45,506 answers

131,660 comments

48,691 users