You are viewing a single comment's thread. Return to all comments →
I don't understand why the function doesn't get the number of lines passed in as a parameter. It seems like bad design to have to access that globally
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Diagonal Difference
You are viewing a single comment's thread. Return to all comments →
I don't understand why the function doesn't get the number of lines passed in as a parameter. It seems like bad design to have to access that globally