UST interview question

Basic question