UST interview question

basics in first round