Deloitte interview question

content hugging and priority