suppose you have a list of words and you
want to unambiguously identify
each word in the list with the shortest number of
characters.
for instance a list like : kill, kiss,
take
i would want to get take just by typing
t.
but you would have to type kil or kis to get kill
or kiss.
where should i start googling? is this a matter of
sorting?
i was thinking of trees for some reason.
|
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor