InterviewSolution
Saved Bookmarks
| 1. |
In a magic square each row, column and diagonal have the same sum. Check which of the following is a magic square. |
|
Answer» In the first square, If we check the sum of each row and each column in the first square, it comes `0`. However, if we check the sum of numbers on diagonals, it comes `0` and `-6`. As one of the diagonal have different sum than the sum of rows and columns, this is not a magic square. In the second square, If we check the sum of each row and each column in the second square, it comes `-9`. If we check the sum of numbers on diagonals, it comes `-9` and `-9`. As the sum of each row, column and diagonal have the same sum, this is a magic square. |
|