Teradata Interview Question

How to implement mallacok effectively