plz check my code, test cases are not passing,
1 count problem
@Bhavya_Goel
You are printing only the length of subarray with maximum 1s. You also have to print modified array. Please check the sample input and output
plz check my code, test cases are not passing,
@Bhavya_Goel
You are printing only the length of subarray with maximum 1s. You also have to print modified array. Please check the sample input and output