Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Finding the nth Lexicographical String in a Dictionary

Правка en1, от 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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский T_C_D 2024-07-05 14:27:50 253 Initial revision (published)