BairesDev interview question

Personal, maths, logic and situational