Symmetric Substring Count — Coding problem | OneNoughtOne