Find the K-Beauty of a Number
Slide a window of k digits along the number and count the windows whose value is a nonzero divisor of the number.
Slide a window of k digits along the number and count the windows whose value is a nonzero divisor of the number.