Dezigndia interview question

How to display dynamic input fields?