GoConqr has a new look! Let us know what you think.

Mind map

Data Structures

Yanella tree English

Map content

Data Structures

  1. Lists: ordered, changeable & allow duplicates

    • can hold elements of different data types
      • Adding an element to a list places it at the end
        • .append()
      • when deleting an element
        • remove the element
          • .remove()
        • pop the index
          • .pop()
      • to access an element in a list
        • [ ]
  2. Tuples: ordered, unchangeable, & allow duplicates

    • we cannot update or delete
  3. Sets: unordered, unchangeable, reject duplicates

    • you can add or update but not remove
      • adding elements
        • .add()
      • merge sets
        • .update()
  4. Dictionaries: ordered, changeable, and does not allow duplicates

    • it can be any data type
    • used to store data values in key:value pairs

Information

Description
Mind Map on Data Structures, created by Yanella tree on 14/09/2021.
Created by
Yanella tree
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?