UST interview question

Life cycle methods of react