Print all duplicate digits of a number in sorted order
Given a number N, the task is to print all duplicate digits of that number in sorted order. Examples: Input: 123412989 Output : 3 4 8 Explanation : The unique digits are 3 4 8 Input : 9832213789 Output: 1 7 Approach: The idea is to use The idea is to use Hashing to store the frequency of… Read More »
