Maximum Symmetric Substring - Coding problem | OneNoughtOne