Dyson Interview Question

Solve multiple logic based questions.