Courses
LoginStart now
Courses
LoginStart now

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
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
Data structure using C
0 Votes
Vote Code
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Welcome to my portfolio. Here you'll find a collection of my projects and creations. I specialize in [Your Specialization, e.g.
0 Votes
How can I add gradient to the background
0 Votes