Pergunta de entrevista da empresa Adobe

Q: How does the Bresenham line drawing algorithm work?