Lexicographic Order Geeksforgeeks