Cognizant Interview Question

Higher order component in react