Maximum Consecutive Ones After Removal - Coding problem | OneNoughtOne