Dezigndia Interview Question

How to display dynamic input fields?