Mapa mental
linear Data structures
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre linear Data structures, criado por Bryan Fu em 14-09-2021.
- Criado por
- Bryan Fu
- Visualizações
- 1
- Avaliação