please answer the question below

Determine whether each of the subsequences w given in the previous
question are contiguous subsequences of the following sequences s.
• s =< {1, 2, 3, 4, 5, 6}{1, 2, 3, 4, 5, 6}{1, 2, 3, 4, 5, 6} >
– w =< {1}{2}{3} >
– w =< {1, 2, 3, 4}{5, 6} >
– w =< {2, 4}{2, 4}{6} >
– w =< {1}{2, 4}{6} >
– w =< {1, 2}{3, 4}{5, 6} >
– w =< {1, 2}{3, 4}{5, 6} >
• s =< {1, 2, 3, 4}{1, 2, 3, 4, 5, 6}{3, 4, 5, 6} >
– w =< {1}{2}{3} >
– w =< {1, 2, 3, 4}{5, 6} >
– w =< {2, 4}{2, 4}{6} >
=< {2, 4}{2, 4}{6} >
– w =< {1, 2}{3, 4}{5, 6} >
• s =< {1, 2}{1, 2, 3, 4}{3, 4, 5, 6}{5, 6} >
– w =< {1}{2}{3} >
– w =< {1, 2, 3, 4}{5, 6} >
– w =< {2, 4}{2, 4}{6} >
– w =< {1}{2, 4}{6} >
– w =< {1, 2}{3, 4}{5, 6} >
• s =< {1, 2, 3}{2, 3, 4, 5}{4, 5, 6} >
– w =< {1}{2}{3} >
– w =< {1, 2, 3, 4}{5, 6} >
– w =< {2, 4}{2, 4}{6} >
– w =< {1}{2, 4}{6} >
– w =< {1, 2}{3, 4}{5, 6} >

• s =< {1, 2, 3, 4, 5, 6}{1, 2, 3, 4, 5, 6}{1, 2, 3, 4, 5, 6} >
– w =< {1}{2}{3} >
Answer: Yes.
– w =< {1, 2, 3, 4}{5, 6} >
Answer: Yes.
– w =< {2, 4}{2, 4}{6} >
Answer: Yes.
– w =< {1}{2, 4}{6} >
Answer: Yes.
– w =< {1, 2}{3, 4}{5, 6} >
Answer: Yes.
• s =< {1, 2, 3, 4}{1, 2, 3, 4, 5, 6}{3, 4, 5, 6} >
– w =< {1}{2}{3} >
Answer: Yes.
– w =< {1, 2, 3, 4}{5, 6} >
Answer: Yes.
– w =< {2, 4}{2, 4}{6} >
Answer: Yes.
– w =< {1}{2, 4}{6} >
Answer: Yes.
– w =< {1, 2}{3, 4}{5, 6} >
Answer: Yes.
• s =< {1, 2}{1, 2, 3, 4}{3, 4, 5, 6}{5, 6} >
– w =< {1}{2}{3} >
Answer: Yes.
– w =< {1, 2, 3, 4}{5, 6} >
Answer: Yes.
– w =< {2, 4}{2, 4}{6} >
Answer: No.
– w =< {1}{2, 4}{6} >
Answer: Yes.
– w =< {1, 2}{3, 4}{5, 6} >
Answer: Yes.
• s =< {1, 2, 3}{2, 3, 4, 5}{4, 5, 6} >
– w =< {1}{2}{3} >
Answer: No.
– w =< {1, 2, 3, 4}{5, 6} >
Answer: No.
– w =< {2, 4}{2, 4}{6} >
Answer: No.
– w =< {1}{2, 4}{6} >
Answer: Yes.
– w =< {1, 2}{3, 4}{5, 6} >
Answer: Yes.

Computer Science & Information Technology

You might also like to view...

The ribbon has exactly the same tabs, buttons, and features in every Microsoft Office program

Indicate whether the statement is true or false

Computer Science & Information Technology

The On Advance event of a form is triggered when you navigate through records.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology