150. Interquartile Range

Example

Step 1: Arrange the Data in Ascending Order

Step 2: Find the Quartiles

  1. Calculate the Median (Q2)
  1. Find First Quartile (Q1)

Q1 is the median of the first half of the dataset

  1. Find Third Quartile (Q3)

Q3 is the median of the second half of the dataset

Step 3: Calculate the Interquartile Range (IQR)