Deloitte interview question

Technical Round