Software Developers Interview Questions

96,250 software developers interview questions shared by candidates

You have an NxN square with containing a number of squares also equal to N^2 (checker board basically). You have a function that allows change any area i1,j1 to i2,j2 from white to black, black to white, or invert all color patterns. What's the minimum number of times you must call the function to make a checkboard pattern?
avatar

Software Developer I

Interviewed at Azuqua

3.9
Sep 4, 2017

You have an NxN square with containing a number of squares also equal to N^2 (checker board basically). You have a function that allows change any area i1,j1 to i2,j2 from white to black, black to white, or invert all color patterns. What's the minimum number of times you must call the function to make a checkboard pattern?

Viewing 1491 - 1500 interview questions

Glassdoor has 96,250 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.