Mind map
linear Data structures
Map content
linear Data structures
Lists
- Ordered, Changeable, allow duplicates
- created with [ ]
- Can remove or pop
- elements are added to the end
- Allow for different data types
Tuples
- Ordered, UnChangeable, allow duplicates
- allow for different data types
- created with ( )
- Accessed with [ ]
- [-1] returns last
- [#:#] returns subtuples btwn #'s
- Accessed with [ ]
Sets
- Unordered, Unchangeable, reject duplicates
- Created with { }
- Access using loop or t/f check
- Can add elements or merge multiple sets together
- Accept different data types
Dictionaries
- Used to store data in key:value format
- created with { key1:value1,.... }
- Accepts any data types
Information
- Description
- Mind Map on linear Data structures, created by Bryan Fu on 09/14/2021.
- Created by
- Bryan Fu
- Views
- 1
- Rating