Microsoft Interview Question

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