ChangeMyUsername / algorithms-sedgewick-python

Algorithms(4th edition) by Robert Sedgewick and Kevin Wayne exercises in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TernarySearchTries -> Keys wrong?

joe63 opened this issue · comments

commented

Hallo .

Refering to chapter_5/module_5_2.py section TernarySearchTries I tried the keys()-method.

I inserted: ['she', 'sells', 'sea', 'shells', 'by', 'the', 'sea', 'shore'].

the result from keys() -> ['ea', 'ells', 'he', 'hells', 'hore']

Can you pls help me?

BR Johann