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

Mind map

Data Structures

Austin Ross English

Map content

Data Structures

  1. They are all used to store multiple items in a single variable.

    • They take all data types.
  2. LIsts

    • Square brackets
      • Ordered and changeable. Items can be indexed and moved around.
        • Data type, "list"
    • pets = ["dog", "cat", "tarantula", "fish"]
  3. Tuples

    • fruit = ("apple", "banana", "tomato")
    • Round parens
      • Ordered.
        • Unchangeable.
          • Allow duplicates
  4. Sets

    • Unordered and unindexed. You cannot know what item will be returned.
      • Unchangeable, but can add new items.
        • No duplicates.
    • Curly brackets.
      • soda = {"Cola", "Pop", "Soda", "Seltzer"}
  5. Dictionaries

    • Contain k:v pairs
      • Also curly brackets...
        • Unordered, unchangeable, no duplicates.

Information

Description
Mind Map on Data Structures, created by Austin Ross on 04/02/2021.
Created by
Austin Ross
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?