When you say "the minimal pair of substrings," it implies that you can compare pairs of substrings and choose the minimal one. How do you compare pairs of substrings? Second, "substring pairs from 1 to 100" does not make sense because a substring pair cannot equal 1 or 100 or any number in between. A pair of substrings is not a number.