Reference

Reference Challenges

Challenges

OtherEvergreenPublic
/**
 * Given two arrays of ints, return true if and only if
 * both arrays are equivalent up to the first element with
 * a value of zero, or the end of the array, whichever
 * comes first.
 *
 * NOTE: Pseudo code is acceptable.
 *
 * For instance, {1, 3, 8, 0, 9} is equivalent to {1, 3, 8}
 *
 * @param ariA an int array to compare
 * @param ariB an int array to compare
 *
 * @return boolean indication of equivalency.
 */
public static Boolean equivalent (int[] ariA, int[] ariB)