* * contains * * Purpose: determines whether the values in looking For are strictly * contained...
Fantastic news! We've Found the answer you've been seeking!
Question:
*
* contains
*
* Purpose: determines whether the values in looking For are strictly
* contained in looking In in the same order
*
* Parameters: int [] looking For - array of integers being looked for
* int[] lookingIn - array of integers being looked in
*
* Returns: boolean - true if lookingFor is in lookingIn, false otherwise
*
*/
// TODO: add the method implementation
//[1,2 3 4 5]
// 768793
//false
// 12345
// 2349576
// true
// 123568
// 233890
// false
remember they have to be in the same order and be a subset to another
Related Book For
Posted Date: