C # program to print all the numbers less than N which have at most 2 unique digits
using System ; using System . Collections . Generic ; class GFG { static SortedSet < int > st = new SortedSet < int > ( ) ;