Pregunta de entrevista de Accenture

Coding question based of object React life cycle methods