Rosetta Problems

Count Substrings Divisible By Last Digit

https://leetcode.com/problems/count-substrings-divisible-by-last-digit