Maximum Balanced Sequence - Coding problem | OneNoughtOne