Grand temple greedy

like defense king problem in this what value i take for width and height of axis?

You may take a value which is below -10^9 or above 10^9. But this question doesn’t require that.
Just Find the maximum difference of consecutive rows and columns and multiply them.

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.