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
1. 8431,
2. 8844
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.