You are viewing a single comment's thread. Return to all comments →
This is true. I tried outputting the matrix to the screen in standard x,y format, it does not look like the input. This caused a lot of confusion and time wasted while debugging. IMO, Hackerrank should fix this.
I consider it a good lesson in paying attention to existing code (I fell prey to this problem as well)