3,333 views
4 votes
4 votes
Total number of sub strings present in  "GATE" is

A)7       B) 10          C) 11         D)  8

1 Answer

Best answer
8 votes
8 votes
0 length = 1 ( null)

1 length = 4 (G,A,T,E)

2 length=3 ( GA, AT , TE)

3 length= 2 ( GAT, ATE)

4 length = 1( GATE)

total= 1+2+3+4+1= 11
selected by

Related questions

0 votes
0 votes
1 answer
1
Souvik33 asked Dec 21, 2022
855 views
The number of subwords for w=’SCALABLE” is equal to:343537
2 votes
2 votes
2 answers
3
himgta asked Jul 30, 2018
2,700 views
How many total numbers of substrings are possible out of the string abbbccd?(a) 25 (b) 27(c) 28 (d) 29