can you tell me , see in image at lowest level we have , ms(1,1) , ms(2,2) , ms(4,4) , ms(5,5)
and their size is 1 got it , but you said total no. of subproblem is = n which in this case = 6
but at leaf we have only 4 , this is confusing me , if u can explain this then my problem will be solved :)