UST interview question

From basics