Netguru Interview Question

How higher order component works