The Gateway to Computer Science Excellence
0 votes
110 views

The number of distinct 1 letter subword present in “NAMITA”  is equal to_______________


Answer given subwords are N,A,M,I,T

But last ‘A’ is not a subword. Is it correct??

closed with the note: got ans
in Theory of Computation by Veteran
closed by | 110 views

1 Answer

+5 votes
Best answer
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.
by Junior
selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,215 questions
59,987 answers
201,185 comments
94,646 users