Ram and Shyam were playing. Ram asks Shyam to form numbers using the digits 4,3, 8 and 1. He gives him two different cases
1. Form the greatest four digit number with no repetition of digits.
2. Form the greatest four digit number where a digit can be repeated twice.
The numbers formed are
i-8431, ii-8443, iii-1111
The greatest four digit number with no repetition of digits is obtained by arranging the digits in descending order, i.e. 8431.
the greatest four digit number where a digit can be repeated twice is formed by repeating two greatest digits (8 and 4) twice i.e. 8844.