HCLTech interview question

All basic to advance topic on react