Pergunta de entrevista da empresa Garmin

My technical interview was in C, but yours may be different.