Question d’entretien chez Microsoft

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