Uber interview question

Implement a function to draw a rectangle into a buffer with lower left corner (x1, y1) and upper right corner (x2, y2). Assume you have a function to draw lines.

Interview Answer

Anonymous

9 Sept 2016

This was more of a math question