algorithms-sedgewick-python
algorithms-sedgewick-python copied to clipboard
TernarySearchTries -> Keys wrong?
trafficstars
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