Visa Inc. Interview Question

find the middle element in an array