// We walked through a couple of examples of binary search. // We wrote the code for binary search Search.linearSearch(new int[] {1,2,3,4,5,6,7}, 6) Search.linearSearch(new int[] {1,2,3,4,5,6,7,6}, 6) Search.binarySearch(new int[] {1,2,3,4,5,6,7}, 6) Search.binarySearch(new int[] {1,2,3,4,5,6,7}, 6) Search.binarySearch(new int[] {1,2,3,4,5,6,7}, 9) Search.binarySearch(new int[] {1,2,3,4,5,6,7}, 0) Search.binarySearch(new int[] {1,2,3,5,6,7}, 4) Search.binarySearch(new int[] {1,2,3,5,6,7}, 4) //we did the course evaluation.