
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Check half of the number even or odd Gets n1= n/2+1. Check n1 even or odd {Q1= (a[n1/2] +a[(n1/2)-1])/2.0, Q3= (a[n1+(n1/2)] +a[n1+(n1/2)-2])/2.0} {Q1= a[n1/2] Q3= a[n1+(n1/2)]} {Q1 = (a[n1/2] +a[(n1/2)-1])/2.0, Q3 = (a[n1-1+(n1/2)] +a[n1+(n1/2)-2])/2.0} {Q1= a[n1/2] Q3= a[n1+(n1/2)]}