closed by
596 views

1 Answer

Best answer
5 votes
5 votes
Subwords means letters must be consecutive as in the word.

Since we have 6 letter word NAMITA therefore we will have
6 one letter subwords (i.e. N,A,M,I,T,A) but out of these one A is repeating at last therefore we neglect it as it says distinct letter subword.

Hence we have 6-1=5 distinct one letter subwords(i.e. N, A,M,I,T) of the word NAMITA.
selected by

Related questions

1 votes
1 votes
1 answer
1
Souvik33 asked Dec 4, 2022
347 views
Consider the following statementS: $\left \{ a^{n}b^{n+k}|n\geq 0,k\geq 1 \right \} \cup \left \{a^{n+k}b^{n}|n\geq 0,k\geq 3 \right \}$ is DCFLThe above statement is:TRU...
1 votes
1 votes
1 answer
3
srestha asked Apr 23, 2019
979 views
How many number of $DFA$ states(minimal DFA) required which accepts the language $L=\left \{ a^{n}:n=\text{3 or n>= 2m for all m>= 1} \right \}$ ___________Answer will be...
0 votes
0 votes
1 answer
4
amitarp818 asked Nov 18, 2023
232 views
Given L1 = {a*baa*} and L2 = {ab*}The regular expression corresponding to language L3 = L1/L2 (right quotient) is given by