Deloitte interview question

Coding question Match the sequence