HCLTech interview question

Interview was based on ReactJS