An array contains the elements shown below. Using the binary search algorithm, trace the steps… 1 answer below »

An array contains the elements shown below. Using the binary search algorithm, trace the steps followed to find 20. At each loop iteration, including the last, show the contents of first, last, and mid.