Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
Matrix
743+ articles
magic-square
3 posts
Recent Articles
Long Division Method to find Square root with Examples
Last Updated: 12 July 2025
Given an integer X which is a perfect square, the task is to find the square root of it by using the long division method.Examples:Input: N = 484Output: 22222 = 484Input: ...
read more
Technical Scripter 2019
DSA
magic-square
Coxeter method to construct the magic square
Last Updated: 04 October 2021
Given an odd integer N, the task is to find the magic square of order N.Examples:Input: N = 3Output:6 1 87 5 32 9 4Input: N = 5Output:15 8 1 24 1716 14 7 5 2322 20 13 6 43...
read more
DSA
magic-square
Fill missing entries of a magic square
Last Updated: 09 September 2022
Given a 3X3 matrix mat with it's left diagonal elements missing (set to 0), considering the sum of every row, column and diagonal of the original matrix was equal, the tas...
read more
Matrix
DSA
magic-square
✕