UST interview question

Real time scenarios