UGC-NET Dec 2018 · Counting (Permutations & Combinations)

MCQ · 2 marks · Problem EM-CPRB-0026

The number of substrings that can be formed from string given by $a \: d \: e \: f \: b \: g \: h \: n \: m \: p$ is
  1. A
    $10$
  2. B
    $45$
  3. C
    $55$
  4. D
    $56$

Solve it on GATE DA practice →More Combinatorics & Basic Probability problems

Show the worked solutionAll 10 characters are distinct, so each substring is fixed by its start and end positions.\[\boxed{\frac{n(n+1)}{2}+1}\]\[\frac{10\cdot11}{2}=55\ \text{non-empty substrings},\quad +1\ \text{empty string}=56.\]Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com