CountPalindromicSlices

https://codility.com/demo/results/demo2GX3B6-NSG/