This question was asked in Ex 1.2, 9
Build the largest and the smallest numbers , as directed :- 7 - digits number , using the digits 0, 3 and ( with repition )
 

Rehman Malik's image