Garmin Interview Question

not very difficult