Mindmap
linear Data structures
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am linear Data structures, erstellt von Bryan Fu am 14/09/2021.
- Erstellt von
- Bryan Fu
- Aufrufe
- 1
- Bewertung