Deloitte interview question

Genesis question