ZS Associates interview question

Case studies involving maths and logic