June 2025
Intermediate to advanced
515 pages
17h 5m
English
Programs are composed of algorithms and data structures. So far, data structures such as lists and tuples have already appeared in some of the sample programs. Let’s now take a closer look at what data structures Python brings to the table.
You should not confuse data structures with simple data types, such as int, float, and str. An essential difference between data types and data structures is that data structures have a much more complex structure than the simple data types.
In applied computer science, a data structure is a set of objects that may only be manipulated by means of well-defined operations. In a nutshell, data structure = objects + operations. The data is organized in a ...
Read now
Unlock full access