UST interview question

Some technical questions and basic algorithms