ABP Holding interview question

little bit from performance tuning.