PriceLabs interview question

Can you explain a. PSEUDO CODE