Geotab Interview Question

Coding question was open book and easy to do