Fenwick Quiz question 10

I didn’t understand help!!

It takes logn time to calculate sum in a row and logm in coloumn. So, time comlexity will be O(logmn)

got it…