Aristocrat interview question

Technical questions.