Given an n X n array with rows sorted and cols sorted, find the number of negative elements in most efficient way.
1 year ago
Feel free to contribute, however it will be moderated to curb spams.
Given an n X n array with rows sorted and cols sorted, find the number of negative elements in most efficient way.
No comments:
Post a Comment