Form the greatest and smallest -digit numbers using any one of the given digits twice:
Step 1: Use the largest value digit twice and arrange the digits in descending order for the largest number.
The required greatest number is
Step 2: Use the smallest value digit twice and arrange the digits in ascending order for the smallest number
Since the smallest value digit is zero, place them in the second leftmost position.
Hence, The required smallest number is