Lexicographical order

Got stuck in this code…help me out only from solving lexicographical order. Otherwise everything is correctly written.

@ELX-OL0014 If you want to sort the subsequences lexicographically, then simply store them in a List and apply Collections.sort(list) on it! And simply print the list instead of printing it in base case!

1 Like

which list? array list na?

@ELX-OL0014 Haanji bro!

1 Like