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.
SImple Python solution:
We need to initialize count to -64 as matrix will be always 6*6 and values must be -9<=x<=9. So if all values will be -9 in that case we will get -63 as max value. Pass all test cases
2D Array - DS
You are viewing a single comment's thread. Return to all comments →
SImple Python solution: We need to initialize count to -64 as matrix will be always 6*6 and values must be -9<=x<=9. So if all values will be -9 in that case we will get -63 as max value. Pass all test cases