Cognizant Interview Question

Pure component vs component in react