Count of integers in given range having their last K digits are equal
Given a range from L to R and an integer K, the task is to count the number of integers in the given range such that their last K digits are equal. Example: Input: L = 49, R = 101, K=2Output: 6Explanation: There are 6 possible integers t.e., 55, 66, 77, 88, 99 and 100 such that their last K(i.e., 2)