Cognizant interview question

Render only new elements using ngfor.