V
V
Vladislav2017-09-03 19:29:09
Programming languages
Vladislav, 2017-09-03 19:29:09

How to define strings for language with ABC alphabet?

For a language with the alphabet ABC, defining all such and only strings in which the first and last characters are different and each character does not repeat more than three times in a row.
1) Syntactic diagram.
2) Backus forms - Naura.
3) Formal grammar.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question