Say you have an array prices  for which the&n […]