line no. 17 mai if(arr[i]==0){
len = max(len,i+1);
}
sir ne ye kia hai
but i think it should be if(pre==0){
len = max(len, i+1) hona chaiye naa kyuki 0 toh hum cumSum mai dekhnge?
}
Length of longest subarray with sum 0
im not even getting the correct answer i did exactly the same as sir did here is my code: https://ide.codingblocks.com/s/329226
got my code correct but still i have that problem in the logic