FDM Group interview question

Technical question