Google interview question

Describe Bresenham's algorithm