We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Forming a Magic Square
- Discussions
Forming a Magic Square
Forming a Magic Square
Sort by
recency
|
32 Discussions
|
Please Login in order to post a comment
Java, O(1)
Slow Java solution but for logic comprehension purposes
Python3
You HAVE to understand magic square and all of its solutions
Python solution
def formingMagicSquare(s): # Write your code here mincost=99 # a b c # d e f # g h i