Answer:
We have to choose 21 strings to be sure we have chosen at least 6 strings of the same type.
Explanation:
Since the string type is determined by the initial and terminal bits as understood from the question, then the value of the bits between the initial and terminal bits is of no concern to us.
Now, to be sure you have atleast 6 of the same type, we select each string five times. By doing this, we have already selected 20 strings because we have 4 strings there. Now if you choose any of the string one more time, we are certain that we must have chosen atleast 6 strings that are the same. This means we have to choose 21 strings to be sure we have chosen at least 6 strings of the same type.