How many substrings of non-zero length can be formed from a character string…
How many substrings of non-zero length can be formed from a character string of length n?
- A.
n
- B.
n^2
- C.
2^n
- D.
n(n + 1)/2
Attempted by 796 students.
Sign up free to check your answer
Sign up freeLoading lesson…