...
Question 9962 – Theory-of-Computation
December 6, 2023
Question 9991 – Theory-of-Computation
December 6, 2023
Question 9962 – Theory-of-Computation
December 6, 2023
Question 9991 – Theory-of-Computation
December 6, 2023

Question 9973 – Theory-of-Computation

How many sub strings of different lengths (non-zero) can be found formed from a character string of length n?

Correct Answer: D

Question 28 Explanation: 
Let us consider an example S = {APB}
Possible sub-strings are = {A, P, B, AP, PB, BA, APB}
Go through the options.
Option D:
n(n+1)/2 = 3(3+1)/2 = 6
A
n
B
n2
C
2n
D
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!