I came out with another interview question to find out the candidate's visualizing power:
The object is chessboard--you know it has black and white squares.
 
The object is chessboard--you know it has black and white squares.
- How will you visualize the chessboard in terms of mathematical formula?
 - How will you visualize/depict the same in PHP code?
 
Comments