Find the greatest 8 digit number which has 4 different digits.
Since, it has 4 different digits. The largest digit will repeat 5 times. So answer is 9,99,99,876