Pergunta de entrevista da empresa Microsoft

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