Garmin interview question

Gave me few days to do technical task - data compression algorithm.