Cognizant interview question

Use of redux in react