Lexicographic order

can you please provide me any site where i can study about lexicographic, because i don’t know how to implement it.

hey @lukharshiv
The lexicographic or lexicographical order (also known as lexical order, dictionary order, alphabetical order or lexicographic (al) product) is a generalization of the way words are alphabetically ordered based on the alphabetical order of their component letters.

  1. To find all of the possible subsequences.
  2. add All subsequence in ArraysList
  3. sort the Arrayslist
  4. print ArraysList