Number of Divisible Substrings
Map each letter to a keypad weight. Count substrings whose weight sum divides evenly by their length, one average at a time.
Map each letter to a keypad weight. Count substrings whose weight sum divides evenly by their length, one average at a time.