Esri interview question

Logic questions