I have seen blind posts about draw a circle interview question. What does this exactly mean?
Lmao. Pure Storage is notorious for asking this question. While youre at it do the “given 4 points, decide if they form a square or not”. They asked that as well
I had that question in MS: you are given a function that draws a dot accepting x,y parameters. Draw a circle
Not sure about interview questions but I remember drawing a circle in C using Bresenham’s algorithm.
Thanks, did not know there is a known algo for this. This is probably what interviewer looks for.
I’ve been asked this before, apparently the point was not to “reinvent the wheel” and just use a known algo. 🤷♂️ personally I don’t think it’s a great question