Genpact interview question

Directives, custom and types