My attempt at a solution for a problem on hacker rank This brain teaser (https://www.hackerrank.com/challenges/magic-square-forming/problem) is listed as medium difficulty. I spent many hours on it and am completely unable to come up with the solution. VERY difficult for me.