I am sharing my code URL plase find it below and made changes if needed any.
Not getting answer (Maximum Rectangle of 1's)
@Nikhil-Rajput-1327861567562217 i have updated your code a little https://ide.codingblocks.com/s/404326 .look for the comments in the code.
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.