Microsoft interview question

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