Finding the greatest and smallest numbers with given digits | 6 digits | Class 3 | ICSE | CBSE