Given a string, count the substrings that are 'scatter palindromes'. The report does not define the term; the example 'aabb' giving 9 matches a substring whose characters can be rearranged into a…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.