UST interview question

Technical round was based on coding.