FDM Group interview question

Maths and logic exam