Deloitte Interview Question

Case and then another group case