Total Appeal of a String
Total Appeal of a String asks you to sum the number of distinct characters across every contiguous substring of a given string and return that total.
We'll cover the following...
We'll cover the following...
Statement
Given a string s, return its total appeal, which is calculated by ...