Sort an array according to the increasing frequency of the digit K in the array elements
Given an array arr[] of size N, and an integer K representing a digit, the task is to print the given array in increasing order according to the increasing frequency of the digit K in the array elements. Examples: Input: arr[] = {15, 66, 26, 91}, K = 6Output: 15 91 26 66Explanation:The frequency of