python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How can you identify whether the language is regular or context-free language
For example, is this language regular or context-free language?
On the one hand n can't be smaller than m but on the other hand you can't count n and m.
{(ab)^n (ab)^m | n>=m>=0}
Tomer Cher
Votes: 0
Answers: 1
Store NFA into data structure
I am provided with a NFA and I need to use a data structure (I can not use recursive descent parser) for storing it. Once the NFA is stored in a data structure I am given a string to check if the stri...
Orion
Votes: 0
Answers: 1
How to draw a DFA for that given language?
This the question : L = { vwv : w,v ∈ {a,b}* , |v| = 2 }
I draw it until W cames up idk what to do !
this is my way :
پارسا نظام پور
Votes: 0
Answers: 1
Deterministic Finite Automata (DFA) Implementation
I need to build a state machine and write a control program to recognise a set of strings of zeros and ones, in which there are three zeros between each occurrence of one. Below is my code which is no...
Geras12
Votes: 0
Answers: 1