Geotab interview question

Coding questions on Python and SQL