En Sat, 20 Sep 2008 20:27:41 -0300, Alex Snast <[EMAIL PROTECTED]> escribió:

Another quick question please, is the List data structure just a
dynamic array? If so how can you use static size array, linked list,
AVL trees etcetera.

Yes, lists are implemented as dynamic arrays (but you shouldn't care about it). "Textbook" linked lists are good for a CS course, but useless in most usual circumstances (think of memory fragmentation). There are AVL trees implemented in Python, but not built in. Read the Python Tutorial specially this section http://docs.python.org/tut/node7.html You may be interested in the collections module too http://docs.python.org/lib/module-collections.html

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to