Deloitte Interview Question

Maths puzzles, python coding, SQL queries