150. Interquartile Range
Example
Step 1: Arrange the Data in Ascending Order
Step 2: Find the Quartiles
- Calculate the Median (Q2)
- Find First Quartile (Q1)
Q1 is the median of the first half of the dataset
- Find Third Quartile (Q3)
Q3 is the median of the second half of the dataset
Step 3: Calculate the Interquartile Range (IQR)