Adobe Interview Question

Q: How does the Bresenham line drawing algorithm work?