Web-Technologies
October 9, 2023
UGC NET JRF November 2020 Paper-2
October 9, 2023
Web-Technologies
October 9, 2023
UGC NET JRF November 2020 Paper-2
October 9, 2023

Engineering-Mathematics

Question 24

The number of substrings (of all lengths inclusive) that can be formed from a character string of length n is

A
n
B
n2
C
n(n-1)/2
D
n(n+1)/2
Question 24 Explanation: 
No. of substrings of length
n = 1
(n-1) = 2
(n-2) = 3
So, Total = n(n+1)/2
Correct Answer: D
Question 24 Explanation: 
No. of substrings of length
n = 1
(n-1) = 2
(n-2) = 3
So, Total = n(n+1)/2
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!!