Latest Miscellaneous Company Exam Aptitude Question SOLUTION: Q. Make spiral matrix like following N*N in spiral starting from center 1 in php and find sum of diagonal of matrix. 21 22 23 24 25 20 7 8 9 10 19 6 1 2 11 18