FDM Group interview question

Nothing really hard.