Deloitte interview question

Lightning