Data structure and algorithm in Python - Array-Based Sequences

Dynamic Arrays Python’s list class presents a more interesting abstraction. Although a list has a particular length when constructed, the class allows us to add elements to the list, with no apparent limit on the overall capacity of the list. To provide this abstraction, Python relies on an algorithmic sleight of hand known as a dynamic array. 24 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download