I want to generate a algorithm in which I want to get the next string in lexicographically order.
Suppose I want to generate a list of length 26 then it is
['a','b'....'z']
Now suppose I want to generate a list of length 260 then it is
['a0','a1','a2'...'a9','b1'....'z0'....'z9']
This type of algorithm have max-limit. But I don't want such type of limitations. It may be 10000 or 1 millions.
Requirement
Algorithm should work in such a way that previously string is passed as argument generate by it. And it should produce the next string in lexicographically order. And I do not want to use timestamp (1503314045645)
Thanks