Pregunta de entrevista de Microsoft

Write a program to print if given array has sequence of another array