REI Systems interview question

On trigger and SOQL queries.