as title
How to use Data Structure (such as Tree,link list) by Python?
Collapse
This topic is closed.
X
X
-
LeonTags: None -
ivy
Re: How to use Data Structure (such as Tree,link list) by Python?
Python has built-in list and search tree.
If you like , you can write it by yourself.
-
Josiah Carlson
Re: How to use Data Structure (such as Tree,link list) by Python?
"ivy" <ivy@doramail.c om> wrote:[color=blue]
>
> Python has built-in list and search tree.
> If you like , you can write it by yourself.[/color]
Python does not come with a tree data structure. It does come with a
'dictionary', which is implemented as a hash table.
- Josiah
Comment
-
Leon
Re: How to use Data Structure (such as Tree,link list) by Python?
thanks......
I use list intead tree
use pop() and append()....(St ack)
"Josiah Carlson" <jcarlson@uci.e du>
???????:mailman .5800.109938194 2.5135.python-list@python.org ...[color=blue]
>
> "ivy" <ivy@doramail.c om> wrote:[color=green]
>>
>> Python has built-in list and search tree.
>> If you like , you can write it by yourself.[/color]
>
> Python does not come with a tree data structure. It does come with a
> 'dictionary', which is implemented as a hash table.
>
> - Josiah
>[/color]
Comment
Comment