ProjectEuler+ Contest Problem Statement
This is the "Largest Product in a grid" Problem of HackerRank, it was a fairly interesting problem which made me think about the corner cases for about 45 mins, it basically used the concepts of accessing a 2D Array elements, the last corner case was soo tricky to find, and I was starting to think that there must be some problem from the site only because it felt so clear to me. I was confused about how can I miss anything in this problem but I did miss the case of the elems of all left diagonals, which is the last case that I had covered in the code, I had converted this into the form of a function.
Peace!
Comments
Post a Comment