Numerically largest entry in a trie of digits

Dom DiSc dominikus at scherkl.de
Tue Apr 19 21:16:18 UTC 2022


On Tuesday, 19 April 2022 at 16:35:21 UTC, H. S. Teoh wrote:
> Just thought I'd pick all the bright minds here: I have a set 
> of numbers in string form (as decimal digits), stored in a 
> trie.  How do I retrieve the largest number in the set?

Is it necessary to store decimal numbers?
Because if they would be stored binary, the highest number would 
automatically be among the longest strings.


More information about the Digitalmars-d mailing list