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.
I enjoyed this because it took mathematical reasoning then some manipulation to come up with an algebra one liner. Looking at other people's solutions there look to be a lot of different formulae that work!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Strange Grid Again
You are viewing a single comment's thread. Return to all comments →
Here is my Haskell solution
I enjoyed this because it took mathematical reasoning then some manipulation to come up with an algebra one liner. Looking at other people's solutions there look to be a lot of different formulae that work!