Capgemini interview question

redux ,higher order component and hooks