Mindmap
Linear Data Structures
Inhalt der Mindmap
Linear Data Structures
Lists
- ordered
- changeable
- allows duplicates
- elements with different data types
- ex: list = ["dog",True,4]
Tuples
- ordered
- unchangeable
- allows duplicates
- ex: tuple = ("cat",31,False)
- elements with different data types
Sets
- unordered
- unchangeable
- but you can add elements a set or merge 2 sets
- no duplicates
- can check if an element exists in the set
- ex: set = {"puppy",True,4}
- elements with different data types
Dictionaries
- stores data in key:value format
- like maps in C++
- changeable
- ex: dictionary = { "name": "Miranda", "year": "sophomore"}
Informationen
- Beschreibung
- Mindmap am Linear Data Structures, erstellt von Miranda Ingram am 04/02/2021.
- Erstellt von
- Miranda Ingram
- Aufrufe
- 0
- Bewertung