• 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 do I bridge the gap between learning and doing.
1 Votes
Please help me
2 Votes
How i learn it I feel bhai it's tough some one help me 😐
0 Votes
Game
0 Votes
WHY THEY CHANGED IN LESSONS PRACTICE JUST FOR PRO USERS?
1 Votes
How can I make a note-taking app in Python (NoteNinja Project)?
0 Votes
Please recommend me
0 Votes
Dc
0 Votes
Learn tkinter
1 Votes
Print
0 Votes