A quartile is a statistical term that describes a division of observations into four defined intervals based on the values of the data and how they compare to the entire set of observations -investopedia.

1st Quartile - 1 to 25

2nd Quartile - 26 to 50

3rd - 51 to 75

4th - 76 to 100

So we have 100 salaries initially, and Tom’s salary is lowest in second quartile meaning 26th position(Second quartile according to definition above starts at 26 and ends at 50)

If 12 salaries are added with 6 above and 6 below, new quartile length is (100+12)/4= 28

If 6 salaries are below initial 100, new position of Tom = 26 + 6 = 32

accordingly, since second quartile starts at 29, Tom’s new position is 4th lowest in the 2nd Quartile.

1 Like

Thanks a lot man.