UST Interview Question

React life cycle and explanation