FDM Group Interview Question

Nothing really hard.