• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

Matrix diagonals
arraydiagonalsjavamatrix
0 Votes
3 Answers
16th Sep 2019, 11:33 PM
Alejo Garat
Alejo Garat - avatar
write a function which accepts a 2d array and displays the elements which lie on diagonals
c++pythonruby
5 Votes
1 Answer
8th Sep 2017, 11:50 AM
Kai
Kai - avatar
How to calculate number of tiles so we get 81 tiles on right and left diagonals in 2D matrix?
c++
0 Votes
3 Answers
12th Jun 2021, 3:11 AM
TeaserCode
matrix
2dabsolutearraycppdiagonalsdifferencedynamicloopsmatrixmemory
15 Votes
2 Answers
2nd Jun 2019, 5:01 AM
Night_fury~
Night_fury~ - avatar
A magic square is a 3 by 3 matrix filled with integers in the range [1 - 9] so that each entry in the matrix has a unique value. The sum of each of the rows and each of the columns and each of the two diagonals must be equal to 15.
c++
1 Vote
3 Answers
2nd Aug 2016, 2:14 PM
rahul punjabi
rahul punjabi - avatar
How to print a 3×3 matrix in which sum of all rows and columns is 15 including the diagonals and numbers upto 9 can only be used that is we can use only 1-9 without repeating the same number twice and without taking any input from the user.
2d-arrayc++
0 Votes
2 Answers
2nd Oct 2016, 8:02 AM
Asim
Asim - avatar
Hot today
How can one build an Ai app
3 Votes
Websites for frontend developers
1 Votes
Can someone explain how it works (im new)
0 Votes
AI Takeover
1 Votes
How to learn python
1 Votes
C course progress restart
2 Votes
I need a mentor in coding specifically AI
0 Votes
Error in the result
0 Votes
I need a help
0 Votes
Openfoam
0 Votes