Geotab interview question

so much oop and design patterns