D-SIMLAB Interview Question

How to optimize the allocation time