Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Matrix diagonals
array
diagonals
java
matrix
0 Votes
3 Answers
16th Sep 2019, 11:33 PM
Alejo Garat
write a function which accepts a 2d array and displays the elements which lie on diagonals
c++
python
ruby
5 Votes
1 Answer
8th Sep 2017, 11:50 AM
Kai
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
2d
absolute
array
cpp
diagonals
difference
dynamic
loops
matrix
memory
15 Votes
2 Answers
2nd Jun 2019, 5:01 AM
Night_fury~
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
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-array
c++
0 Votes
2 Answers
2nd Oct 2016, 8:02 AM
Asim
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Problem with Javascript function
0 Votes
For Programming i need Patience
0 Votes
How can I print a Python set so it looks clean (no {} brackets or quotes)?
2 Votes
Can someone help and explain better on slicing
1 Votes
How do I remove duplicates from a list but keep the order?
0 Votes
About css...
0 Votes
How do I print a multiplication table neatly?
0 Votes
Why we use return in function ?
0 Votes
Is there anyone who is working on algo bot (trading bot)
0 Votes
Hill Climbing
0 Votes