How do I determine if an array contains all the integers in a separate array
问题 I'm in my schools ap computer science class and I'm stuck on this one problem. and cant really even really come up with an idea on how to solve it. Here it is word for word: Write a static method named contains that accepts two arrays of integers a1 and a2 as parameters and that returns a boolean value indicating whether or not a2's sequence of elements appears in a1 (true for yes, false for no). The sequence of elements in a2 may appear anywhere in a1 but must appear consecutively and in the