You are viewing a single comment's thread. Return to all comments →
Not really because if the split is in the loop the time complexity turns to O(n^2)
Diagonal Difference
You are viewing a single comment's thread. Return to all comments →
Not really because if the split is in the loop the time complexity turns to O(n^2)