Informatica interview question

Efficient codes for simple problems