Microsoft Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: In-Person
for a chessboard, the black/white cell should be like this:
bwbwbwbw
wbwbwbwb
...
So, your code color[ j % 2 ] should be changed into color[(i+j)%2]?
- vln February 23, 2014