geeksforgeeks
  • Courses
  • Tutorials
  • Interview Prep
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
Similar Topics
Web Technologies32.1K+ articles
DSA20.4K+ articles
Python19.6K+ articles
Experiences15.8K+ articles
Interview Experiences14.5K+ articles
School Learning11.1K+ articles
JavaScript9.9K+ articles
Java9.4K+ articles
Misc7.7K+ articles
Matrix743+ articles

magic-square

3 posts
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
article_image
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
GeeksforGeeks
location
Corporate & Communications Address:
A-143, 6th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
location
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play StoreGFG App on App Store
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Campus Training Program
  • Explore
  • POTD
  • Job-A-Thon
  • Blogs
  • Nation Skill Up
  • Tutorials
  • Programming Languages
  • DSA
  • Web Technology
  • AI, ML & Data Science
  • DevOps
  • CS Core Subjects
  • Interview Preparation
  • Software and Tools
  • Courses
  • ML and Data Science
  • DSA and Placements
  • Web Development
  • Programming Languages
  • DevOps & Cloud
  • GATE
  • Trending Technologies
  • Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
  • Preparation Corner
  • Interview Corner
  • Aptitude
  • Puzzles
  • GfG 160
  • System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved