Given an n X n array with rows sorted and cols sorted, find the number of negative elements in most efficient way
Click for Solution

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A the complexity of my program will be nlog(n)
    if any one make it more efficient then please post it.


  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A bcv

[Insert Code]