Can you please help me

Actually i donot understand this problem properly pls explain me this problem in some better and easy way

hello @manikjindal49

in this problem, u have to divide the given grid into 4 small grid.
and then among those 4 small grid. 3 best grid will be taken by ur friends
and then u will have to pick last( smallest among all 4 small grids).

now u need to partition the given grid in such a way that u get maximum number of gold coins .

I understand this part but i donot understand the solution which prateek bhaiya is explaining

are u aware of prefix sum on 2d array?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.