SPH Analytics interview question

Nothing really difficult