Largest subarray with 0 and 1

can’t pass test case. please help.
https://ide.codingblocks.com/#/s/21475