1. I can check the elements sequencing one by one and see if the same elements are present or not in the 2nd array.
2. I can use slicing and then create a sub array of the first one and then compare the sub array with 2 array, i am stuck how will i match the array and the sub array i have known a , but how to implement it in rust?