Two
streams
are said to be of the same type if the sequence of turns made in each
stream is identical.
For example, the streams shown in the following figures are of the same type.
Each is obtained by making the sequence of turns: right, right, left, right,
right, right.