/**
 * CS 149 Exercise 9.1 CodingBat Array-1.
 *
 * @author
 * @version
 */
public class BatArray1 {

   /**
    * Given two arrays of ints, a and b, return true if they have the same first
    * element or they have the same last element. This method should return
    * false if either array is empty or null.
    *
    * @param a the 1st array
    * @param b the 2nd array
    * @return whether they have a common end
    */
   public static boolean commonEnd(int[] a, int[] b) {
   }

   /**
    * Given an array of integers, return a new array of length 3 containing the
    * elements from the middle of the array. This method should return null if
    * the array length is even or less than 3.
    *
    * @param nums the original array
    * @return the middle three values
    */
   public static int[] midThree(int[] nums) {
   }

   /**
    * Given an array of integers, look at the first, last, and middle values in
    * the array, and return the largest value. This method should return 0 if
    * the length of the array is even.
    *
    * @param nums the original array
    * @return largest of three values
    */
   public static int maxTriple(int[] nums) {
   }

}
