Finding the nth Lexicographical String in a Dictionary

Revision en1, by T_C_D, 2024-07-05 14:27:50

Suppose i have a dictionary of an alphabet D (|D|>1) and i have an integer n (n between 1 and 1e18). I want to find the nth lexicographical string in this dictionary. How can I solve this problem?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English T_C_D 2024-07-05 14:27:50 253 Initial revision (published)