The Gateway to Computer Science Excellence

0 votes

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

+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.

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.

52,215 questions

59,987 answers

201,185 comments

94,646 users