Miscellaneous Company Exam
Company
Logical Reasoning
Number Series
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 5 4 3 12
17 16 15 14 13
Read Solution (Total 1)
-
- 21+7+1+3+13=45
- 11 years agoHelpfull: Yes(1) No(1)
Miscellaneous Company Exam Other Question