Capgemini interview question

React.js